]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
initscripts: Fix shutdown and reboot.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2009 19:32:21 +0000 (21:32 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2009 19:32:21 +0000 (21:32 +0200)
Systems got a hang.

src/initscripts/core/shutdown.conf

index cf8841aec447d890434dca1ba3a789756b9a7b9a..a51e44f82d1cf457959dc7afc87931950aad8b8d 100644 (file)
@@ -17,8 +17,8 @@ script
        # The UPSTART_EVENTS variable contains the event that has been called.
        # The script use it to perform the requested action.
        if [ "${UPSTART_EVENTS}" = "reboot" ]; then
-               reboot -f
+               reboot -pf
        else
-               halt -f
+               halt -pf
        fi
 end script