Add rc-service and update all softlevel refs to runlevel.

This commit is contained in:
Roy Marples
2008-03-19 17:11:50 +00:00
parent 089caec283
commit d9ec62b22a
14 changed files with 96 additions and 28 deletions

View File

@@ -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