#!/bin/sh

. /etc/rc.conf
. /etc/rc.d/functions

echo "======================================================================"
for i in `seq 3`
do
	echo " " > /dev/tty1
done
if [ -f /lib/splash/cache/daemon.pid ]
then
	pid=`cat /lib/splash/cache/daemon.pid`
	kill -9 $pid 2>/dev/null
fi
export PREVLEVEL=3

#user added stuff for level 3 of runit
if [ -e /etc/runit/3.local ]
then
    #exec the file
    stat_busy  /etc/runit/3.local
    /etc/runit/3.local
    stat_done
fi

/etc/rc.shutdown