summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/1
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-04-02 19:10:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-04-02 19:10:33 (GMT)
commitaa37813e3606a4b55c842d15a5dde276cff4abeb (patch)
tree4b7b3c87da543809a3c6b9e345272035ea33574f /abs/core-testing/runit-scripts/runitscripts/1
parent951431ba42a422cf059666d8000f7d3f5fd8449a (diff)
downloadlinhes_pkgbuild-aa37813e3606a4b55c842d15a5dde276cff4abeb.zip
linhes_pkgbuild-aa37813e3606a4b55c842d15a5dde276cff4abeb.tar.gz
linhes_pkgbuild-aa37813e3606a4b55c842d15a5dde276cff4abeb.tar.bz2
runit-scripts: more work to fix hauppage
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/1')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/19
1 files changed, 8 insertions, 1 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/1 b/abs/core-testing/runit-scripts/runitscripts/1
index 804ed56..6e4425d 100755
--- a/abs/core-testing/runit-scripts/runitscripts/1
+++ b/abs/core-testing/runit-scripts/runitscripts/1
@@ -1,12 +1,17 @@
#!/bin/bash
/etc/rc.sysinit
+. /etc/rc.conf
+. /etc/rc.d/functions
hostname `cat /etc/hostname`
/sbin/sysctl -p 2>/dev/null >/dev/null
-/usr/LH/bin/load-modules-mythvantage.sh
+#yes it's needed the 2nd time
+/usr/LH/bin/load-modules-mythvantage.sh >/dev/null
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
+stat_busy "Starting network"
/etc/net/scripts/network.init start 2>/var/log/network.init.error >/var/log/network.init
+stat_done
/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
@@ -14,6 +19,8 @@ rm -f /etc/runit/reboot 2>/dev/null
if [ -e /etc/runit/1.local ]
then
#exec the file
+ stat_busy /etc/runit/1.local
/etc/runit/1.local
+ stat_done
fi