From: Michael Tremer Date: Fri, 24 Aug 2012 13:28:24 +0000 (+0200) Subject: acpid: Forgot to commit config data. X-Git-Tag: v2.13-beta1~196 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fglibc-update2;p=people%2Fms%2Fipfire-2.x.git acpid: Forgot to commit config data. --- diff --git a/config/acpid/power b/config/acpid/power new file mode 100644 index 0000000000..74063179a8 --- /dev/null +++ b/config/acpid/power @@ -0,0 +1,4 @@ +# ACPID config to power down machine if powerbutton is pressed + +event=button/power.* +action=/etc/acpi/actions/power.sh diff --git a/config/acpid/power.sh b/config/acpid/power.sh new file mode 100644 index 0000000000..839a31818b --- /dev/null +++ b/config/acpid/power.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Shutdown the system immediately +shutdown -h now