diff options
Diffstat (limited to 'init.d/bootmisc.in')
-rw-r--r-- | init.d/bootmisc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index a19a10b1..c6894e42 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -126,7 +126,7 @@ start() stop() { # Write a halt record if we're shutting down - case "${RC_SOFTLEVEL}" in + case "${RC_RUNLEVEL}" in reboot|shutdown) [ "${RC_UNAME}" = "Linux" ] && halt -w;; esac |