[Pm-utils] [PATCH 3/7] On second thought, we don't need to mess with s2ram when using uswsusp.

Victor Lowther victor.lowther at gmail.com
Tue Feb 12 17:38:05 PST 2008


---
 pm/module.d/uswsusp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pm/module.d/uswsusp b/pm/module.d/uswsusp
index 8c0d4a4..f390b43 100644
--- a/pm/module.d/uswsusp
+++ b/pm/module.d/uswsusp
@@ -1,10 +1,10 @@
 check_suspend() {
-	grep -q mem /sys/power/state && command_exists s2ram
+	grep -q mem /sys/power/state
 }
 
 do_suspend()
 {
-        s2ram -f
+        echo "mem" >/sys/power/state
 }
 
 check_hibernate() {
-- 
1.5.3.8



More information about the Pm-utils mailing list