Merge pull request #1687 from NiLuJe/master

Play with the Kobo suspend script...
pull/1693/head
Huang Xin 9 years ago
commit 98bf9f21fd

@ -1,7 +1,7 @@
#!/bin/sh
export PATH="${PATH}:/sbin:/usr/sbin"
# disable wifi
# Disable wifi
if lsmod | grep -q sdio_wifi_pwr ; then
wlarm_le -i eth0 down
ifconfig eth0 down
@ -9,7 +9,8 @@ if lsmod | grep -q sdio_wifi_pwr ; then
rmmod -r sdio_wifi_pwr
fi
# go to sleep
# Go to sleep
sync
echo 1 > /sys/power/state-extended
sleep 2 # Because reasons?
echo mem > /sys/power/state

Loading…
Cancel
Save