Upload firmware.service

This commit is contained in:
crondog 2014-03-08 23:20:05 +11:00
parent 12db5c5d76
commit 5b47e73b6a

10
firmware.service Normal file
View file

@ -0,0 +1,10 @@
[Unit]
Description=Load wlan firmware
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c 'echo 1 > /dev/wcnss_wlan; /usr/bin/sleep 2; echo sta > /sys/module/wlan/parameters/fwpath'
ExecStart=/usr/bin/bash -c 'echo 1 > /sys/module/hci_smd/parameters/hcismd_set; /usr/bin/sleep 2'
[Install]
WantedBy=multi-user.target