summaryrefslogtreecommitdiff
path: root/pm/sleep.d/00logging
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/00logging
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/00logging')
-rwxr-xr-xpm/sleep.d/00logging2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/sleep.d/00logging b/pm/sleep.d/00logging
index fd2a9a8..7990a50 100755
--- a/pm/sleep.d/00logging
+++ b/pm/sleep.d/00logging
@@ -3,7 +3,7 @@
. "${PM_FUNCTIONS}"
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
[ -n "$PM_LOGFILE" ] || exit 0
/bin/uname -a
lsmod