From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../eee-acpi-scripts/files/powerbtn.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch (limited to 'meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch') diff --git a/meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch b/meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch new file mode 100644 index 0000000000..403e5569b8 --- /dev/null +++ b/meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch @@ -0,0 +1,22 @@ +--- + actions/power.sh | 3 +++ + events/powerbtn | 2 ++ + 2 files changed, 5 insertions(+) + +Upstream-Status: Inappropriate [enable feature] + +Index: git/events/powerbtn +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ git/events/powerbtn 2008-10-08 17:43:35.000000000 +0200 +@@ -0,0 +1,2 @@ ++event=button/power PWRF ++action=/etc/acpi/actions/power.sh +Index: git/actions/power.sh +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ git/actions/power.sh 2008-10-08 17:45:26.000000000 +0200 +@@ -0,0 +1,3 @@ ++#!/bin/sh ++ ++/sbin/shutdown -h now "Power button pressed" -- cgit v1.2.3-54-g00ecf