Add rc-service and update all softlevel refs to runlevel.
This commit is contained 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
|
||||
|
||||
|
Reference in New Issue
Block a user