From f9925a8c82860ff8f23e114533428c10bc594bfa Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Thu, 22 Oct 2015 14:16:05 +0200 Subject: [PATCH] Play with the Kobo suspend script... Because apparently it's not behaving as it should? IDK... --- platform/kobo/suspend.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/kobo/suspend.sh b/platform/kobo/suspend.sh index 4b7f65f79..f4d605adc 100644 --- a/platform/kobo/suspend.sh +++ b/platform/kobo/suspend.sh @@ -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