summaryrefslogtreecommitdiffstats
path: root/abs/core/runit/runitscripts/1
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit/runitscripts/1')
-rwxr-xr-xabs/core/runit/runitscripts/114
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/runit/runitscripts/1 b/abs/core/runit/runitscripts/1
new file mode 100755
index 0000000..748930f
--- /dev/null
+++ b/abs/core/runit/runitscripts/1
@@ -0,0 +1,14 @@
+#!/bin/bash
+/etc/rc.sysinit
+hostname `cat /etc/hostname`
+/sbin/sysctl -p 2>/dev/null >/dev/null
+#/usr/bin/load-modules-mythvantage.sh
+rm /etc/dhcpc/dhcpcd*.pid 2>/dev/null
+rm -f /etc/sv/frontend/.runtime/* 2>/dev/null
+rm -f /etc/runit/reboot 2>/dev/null
+/etc/net/scripts/network.init start 2>/var/log/network.init.error >/var/log/network.init
+/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
+
+#/bin/su mythtv -c /usr/bin/grabkey.py 2>/dev/null 1>/devn/null &