From: Stefan Schantl Date: Mon, 24 Aug 2009 10:30:39 +0000 (+0200) Subject: Changed handling of shutdown / reboot event. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92017d263d0bc326bf1fd2b919e36db22d567d60;p=ipfire-3.x.git Changed handling of shutdown / reboot event. Shutdown and poweroff the system should work now. --- diff --git a/src/initscripts/core/shutdown.conf b/src/initscripts/core/shutdown.conf index c319e4136..63d04acbb 100644 --- a/src/initscripts/core/shutdown.conf +++ b/src/initscripts/core/shutdown.conf @@ -11,9 +11,9 @@ script # The UPSTART_EVENTS variable contains the event that has called the # script and is used to perform the requested action. - if [ "${UPSTART_EVENTS}" = "shutdown" ]; then - poweroff -f - else + if [ "${UPSTART_EVENTS}" = "reboot" ]; then reboot -f + else + halt -f fi end script