mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
4a89c93290
* add wifi support to Rm1 * remarkable: common suspend for all models
15 lines
351 B
Bash
Executable File
15 lines
351 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# disable wifi and remove modules
|
|
|
|
# clean stop (if it's running) of main wpa_supplicant service, used by xochitl
|
|
systemctl stop wpa_supplicant
|
|
# clean stop of non-service wpa_supplicant, if running
|
|
wpa_cli terminate 2>/dev/null
|
|
|
|
# power down wifi interface
|
|
ifconfig wlan0 down 2>/dev/null
|
|
|
|
# remove module
|
|
modprobe -r brcmfmac 2>/dev/null
|