diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-04-09 09:31:50 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-04-09 09:31:50 +0200 |
commit | 651be8896621afce6991f3fc8114d3e274762c1a (patch) | |
tree | b8c2a4b029f993773c1e573c014cf284b837e3bd /zzz | |
parent | 8ad69ea409e42e81b672808d8d26cb01181699c8 (diff) | |
download | runit-void-651be8896621afce6991f3fc8114d3e274762c1a.tar.gz runit-void-651be8896621afce6991f3fc8114d3e274762c1a.tar.xz runit-void-651be8896621afce6991f3fc8114d3e274762c1a.zip |
zzz: fix suspend.
Diffstat (limited to 'zzz')
-rwxr-xr-x | zzz | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zzz b/zzz index 69fd3b1..ff50d28 100755 --- a/zzz +++ b/zzz @@ -47,7 +47,7 @@ done case "$ZZZ_MODE" in standby) printf freeze >/sys/power/state || fail "standby failed";; - suspend) printf >/sys/power/state || fail "suspend failed";; + suspend) printf mem >/sys/power/state || fail "suspend failed";; hibernate) echo $ZZZ_HIBERNATE_MODE >/sys/power/disk printf disk >/sys/power/state || fail "hibernate failed";; |