Ajout fonctionalité pour qu'un usager normal puisse faire un shutdown.
[hvlinux.git] / stage2 / pkg / acpid
index 5339d26..aff4960 100644 (file)
@@ -13,7 +13,8 @@ EOF
     cat > /etc/acpi/events/button-power << EOF
 # When the power button is pressed, shutdown the system.
 event=button/power
-action=/etc/acpi/shutdown.shEOF
+action=/etc/acpi/shutdown.sh
+EOF
 
     install -v -m755 ${SCRDIR}/misc/acpi/suspend2ram.sh /etc/acpi
     install -v -m755 ${SCRDIR}/misc/acpi/shutdown.sh    /etc/acpi