aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/bootmisc.in')
-rw-r--r--init.d/bootmisc.in2
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