projects
/
hvlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f99800
)
Fix bug with sleep button event handler and netlink
author
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 23 Aug 2014 22:04:27 +0000
(18:04 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 24 Nov 2014 13:56:10 +0000
(08:56 -0500)
The suspend2ram.sh script was called two times: one for the event
SBTN, and when resuming, another time for the netlink event.
Now call suspend2ram.sh script only for the sleep button event.
stage2/misc/acpi/events/button-sleep
patch
|
blob
|
history
diff --git
a/stage2/misc/acpi/events/button-sleep
b/stage2/misc/acpi/events/button-sleep
index
3624cc7
..
8454487
100644
(file)
--- a/
stage2/misc/acpi/events/button-sleep
+++ b/
stage2/misc/acpi/events/button-sleep
@@
-1,3
+1,3
@@
# When the lid is closed, go into suspend to ram
-event=button/sleep
+event=button/sleep
SBTN*
action=/etc/acpi/suspend2ram.sh button-sleep