--- /etc/rc.local.shutdown 2008-09-18 22:21:39.000000000 +0200 +++ /etc/rc.local.shutdown.new 2008-10-19 13:55:32.000000000 +0200 @@ -3,3 +3,16 @@ # /etc/rc.local.shutdown: Local shutdown script. # +. /etc/rc.conf +. /etc/rc.d/functions + +if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then + # Shutdown background daemons + let i=${#DAEMONSBKG[@]} + while [ $i -ge 0 ]; do + if [ "${DAEMONSBKG[$i]:0:1}" != '!' ]; then + ck_daemon ${DAEMONSBKG[$i]#@} || stop_daemon ${DAEMONSBKG[$i]#@} + fi + let i=i-1 + done +fi \ No newline at end of file --- /etc/rc.multi 2008-09-18 22:21:39.000000000 +0200 +++ /etc/rc.multi.new 2008-10-19 13:55:32.000000000 +0200 @@ -20,6 +20,9 @@ fi done +# Start background daemons +/etc/rc.local.daemons & + if [ -x /etc/rc.local ]; then /etc/rc.local fi