]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/sysconfig/rc.local
corrected speed footer not working with dhcp and static
[ipfire-2.x.git] / src / initscripts / sysconfig / rc.local
index 90347d79ab5eef264934460142235af1a24112df..5b89b8279f3b3e591011bd8d0d10372d16fa6ebc 100644 (file)
@@ -23,5 +23,5 @@
 
 # power button shutdown
 if grep -q '^button' /proc/modules ; then
-    head -1 /proc/acpi/event | grep -q 'button/power PWRF' && init 0 &
+    ( head -1 /proc/acpi/event | grep -q 'button/power PWRF' && poweroff ) &
 fi