summaryrefslogtreecommitdiff
path: root/pm/module.d
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-02-11 17:30:55 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-02-11 17:30:55 -0600
commite55fd77ebd34da61718bda8e698bbb9c4c8add14 (patch)
treeae730624fc5a78990e85408eb17d34882e4b57e7 /pm/module.d
parentfa95410cff8fb0837b07d02c702f9a9b7e152c4b (diff)
On second thought, we don't need to mess with s2ram when using uswsusp.
Diffstat (limited to 'pm/module.d')
-rw-r--r--pm/module.d/uswsusp4
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() {