diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
commit | f7b823f55a80b1498c30e9f3a47692a2329c4f09 (patch) | |
tree | 6de557714e6336282fbc0ab16c6578386dfc6654 /abs/core/runit-scripts/runitscripts/1 | |
parent | 4c2a2e3504f472628285a989c7c9a76be6855f54 (diff) | |
parent | 01c1a60f3b7f93b3ed7404196c2cf798c4d8c674 (diff) | |
download | linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.zip linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.gz linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/1')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/1 | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/abs/core/runit-scripts/runitscripts/1 b/abs/core/runit-scripts/runitscripts/1 index 9463e60..9f92530 100755 --- a/abs/core/runit-scripts/runitscripts/1 +++ b/abs/core/runit-scripts/runitscripts/1 @@ -1,28 +1,33 @@ #!/bin/bash + +PATH=/bin:/sbin:/usr/bin:/usr/sbin + /etc/rc.sysinit . /etc/rc.conf . /etc/rc.d/functions -#no longer needed rc.sysinit takes care of the hostname -#hostname `cat /etc/hostname` -/sbin/sysctl -p 2>/dev/null >/dev/null + +sysctl -p 2>/dev/null >/dev/null + #make sure permissions are right for /etc/systemconfig chown root:mythtv /etc/systemconfig chmod 774 /etc/systemconfig -/usr/bin/setfacl -m u:mythtv:rw- /etc/systemconfig 2>/dev/null >/dev/null +setfacl -m u:mythtv:rw- /etc/systemconfig 2>/dev/null >/dev/null -#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 /service/frontend/.runtime/* 2>/dev/null rm -f /etc/runit/reboot 2>/dev/null -/sbin/agetty -8 38400 tty10 linux & +agetty -8 38400 tty10 linux & + stat_busy "Starting network" -/bin/mkdir -p /var/lock/subsys +mkdir -p /var/lock/subsys /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 + +ethtool -s eth0 wol g 2>/dev/null +ethtool -s eth1 wol g 2>/dev/null +ethtool -s eth2 wol g 2>/dev/null + #cleanup of log files if [ -f /etc/cron.daily/log_care ] then @@ -39,13 +44,15 @@ then /etc/runit/1.local stat_done fi + #some stuff from rc.multi run_hook multi_start + # Load sysctl config files /usr/lib/systemd/systemd-sysctl + # Load additional binary formats mountpoint -q /proc/sys/fs/binfmt_misc || mount /proc/sys/fs/binfmt_misc &>/dev/null || mount -t binfmt_misc binfmt /proc/sys/fs/binfmt_misc /usr/lib/systemd/systemd-binfmt -bootlogd_stop rm -f /run/nologin |