From d35471889a47ffadb59b073f369d71703bbc038d Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 23 Aug 2014 18:04:27 -0400 Subject: [PATCH] Fix bug with sleep button event handler and netlink 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage2/misc/acpi/events/button-sleep b/stage2/misc/acpi/events/button-sleep index 3624cc7..8454487 100644 --- 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 -- 2.20.1