summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/3
blob: d4b0a6a6217609f210afcb25fa7563bf02420482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
for i in `seq 30`
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