diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-03-19 19:48:31 -0500 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-03-19 19:48:31 -0500 |
commit | 53743fa7e2f1248fcaf1e6fe62a8390dcfadffcf (patch) | |
tree | e1ecf605587b56bc0ff9489042c1a2b9259af2c2 /pm/sleep.d/49bluetooth | |
parent | 5292f700d84d50e40d6690d415ba5f97b39979d4 (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-x | pm/sleep.d/49bluetooth | 2 |
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) |