11 lines
317 B
SYSTEMD
11 lines
317 B
SYSTEMD
|
[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
|