acpid: use acpid for powerbutton shutdown.

This commit is contained in:
Arne Fitzenreiter
2012-11-12 23:41:17 +01:00
parent 919eb671a3
commit ef2534611b
2 changed files with 1 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
etc/rc.d/helper/getdnsfromdhcpc.pl
etc/rc.d/helper/writeipac.pl
#etc/rc.d/init.d
#etc/rc.d/init.d/acpid
etc/rc.d/init.d/acpid
#etc/rc.d/init.d/alsa
#etc/rc.d/init.d/amavisd
etc/rc.d/init.d/apache

View File

@@ -20,8 +20,3 @@
###############################################################################
# Used for private calls after boot #
###############################################################################
# power button shutdown
if grep -q '^button' /proc/modules ; then
( head -1 /proc/acpi/event | grep -q 'button/power PWRF' && poweroff ) &
fi