diff -u git/rc.single new/rc.single --- git/rc.single 2010-01-28 10:25:57.000000000 +0100 +++ new/rc.single 2010-01-28 10:49:13.000000000 +0100 @@ -8,7 +8,8 @@ run_hook single_start -if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then +if [ "$PREVLEVEL" != "N" ]; then + # Find daemons NOT in the DAEMONS array. Shut these down first if [ -d /var/run/daemons ]; then for daemon in $(/bin/ls -1t /var/run/daemons); do @@ -25,9 +26,6 @@ fi let i=i-1 done -fi - -if [ "$PREVLEVEL" != "N" ]; then # Terminate all processes stat_busy "Sending SIGTERM To Processes"