blob: 1a4b384317c3c74d636492422b3d760d128289bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
clear
. /etc/rc.conf
. /etc/rc.d/functions
for i in `seq 3`
do
echo " " > /dev/tty1
done
echo "======================================================================"
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
/usr/sbin/ethtool -s eth0 wol g 2>/dev/null
/usr/sbin/ethtool -s eth1 wol g 2>/dev/null
/usr/sbin/ethtool -s eth2 wol g 2>/dev/null
/etc/rc.shutdown
|