You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/platform/cervantes/disable-wifi.sh

10 lines
184 B
Bash

#!/bin/sh
# disable wifi and remove all modules
killall udhcpc default-script wpa_supplicant 2>/dev/null
ifconfig eth0 down
if lsmod | grep -q 8189fs; then
modprobe -r 8189fs
fi