summaryrefslogtreecommitdiff
path: root/pm/sleep.d/49bluetooth
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/49bluetooth
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/49bluetooth')
-rwxr-xr-xpm/sleep.d/49bluetooth2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/sleep.d/49bluetooth b/pm/sleep.d/49bluetooth
index e4977c4..5fcb04c 100755
--- a/pm/sleep.d/49bluetooth
+++ b/pm/sleep.d/49bluetooth
@@ -23,7 +23,7 @@ resume_bluetooth()
}
case "$1" in
- hibernate|suspend*)
+ hibernate|suspend)
suspend_bluetooth
;;
thaw|resume)