summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/3
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/3')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/316
1 files changed, 7 insertions, 9 deletions
diff --git a/abs/core/runit-scripts/runitscripts/3 b/abs/core/runit-scripts/runitscripts/3
index 15e4c5f..1a4b384 100755
--- a/abs/core/runit-scripts/runitscripts/3
+++ b/abs/core/runit-scripts/runitscripts/3
@@ -1,18 +1,13 @@
#!/bin/sh
-
+clear
. /etc/rc.conf
. /etc/rc.d/functions
-
-echo "======================================================================"
for i in `seq 3`
do
- echo " " > /dev/tty1
+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
+echo "======================================================================"
+
export PREVLEVEL=3
#user added stuff for level 3 of runit
@@ -23,5 +18,8 @@ then
/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