1
0
forked from brl/citadel
brl 098b8f982b Squashed 'poky/' content from commit 4469acdf1d
git-subtree-dir: poky
git-subtree-split: 4469acdf1d0338220f3fe2ecb5e079eea6fda375
2017-12-04 16:35:29 -05:00

23 lines
708 B
Diff

---
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"