From: Michael Tremer Date: Fri, 24 Aug 2012 13:28:24 +0000 (+0200) Subject: acpid: Forgot to commit config data. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=161f8b313d0144f9ac766531b5742726fa54b46f acpid: Forgot to commit config data. --- diff --git a/config/acpid/power b/config/acpid/power new file mode 100644 index 000000000..74063179a --- /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 000000000..839a31818 --- /dev/null +++ b/config/acpid/power.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Shutdown the system immediately +shutdown -h now