summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/1
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
commit9431f7ae609b0877b403bad9db39aed4df159229 (patch)
treeff95f8397492cb577d8c725f90cd9503d499d5a5 /abs/core-testing/runit-scripts/runitscripts/1
parentdf5646446d84f38b695f00706a57b4c851be462a (diff)
downloadlinhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.zip
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.gz
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.bz2
move the runit init scripts into their own package.
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/1')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/114
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/1 b/abs/core-testing/runit-scripts/runitscripts/1
new file mode 100755
index 0000000..748930f
--- /dev/null
+++ b/abs/core-testing/runit-scripts/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 &