summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/1
blob: 804ed56d9d832fa4a5398d5997911eac3a864e32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
/etc/rc.sysinit
hostname `cat /etc/hostname`
/sbin/sysctl -p 2>/dev/null >/dev/null
/usr/LH/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
#user added stuff for level 1 of runit
if [ -e /etc/runit/1.local ]
then
    #exec the file
    /etc/runit/1.local
fi