summaryrefslogtreecommitdiff
path: root/pm/sleep.d/00clear
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-19 19:48:31 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-03-19 19:48:31 -0500
commit53743fa7e2f1248fcaf1e6fe62a8390dcfadffcf (patch)
treee1ecf605587b56bc0ff9489042c1a2b9259af2c2 /pm/sleep.d/00clear
parent5292f700d84d50e40d6690d415ba5f97b39979d4 (diff)
Rewrite fix for suspend_hybrid in a more elegant fashion
We add a new variable $METHOD in pm-action. It holds the sleep method we were asked to invoke. $ACTION is chosen baed on the value of METHOD.
Diffstat (limited to 'pm/sleep.d/00clear')
-rwxr-xr-xpm/sleep.d/00clear2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/sleep.d/00clear b/pm/sleep.d/00clear
index 217d8db..a5cd02b 100755
--- a/pm/sleep.d/00clear
+++ b/pm/sleep.d/00clear
@@ -3,7 +3,7 @@
. "${PM_FUNCTIONS}"
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
fgconsole |savestate console
chvt 63
TERM=linux clear