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/3 | |
| 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/3')
| -rwxr-xr-x | abs/core/runit-scripts/runitscripts/3 | 28 | 
1 files changed, 25 insertions, 3 deletions
| diff --git a/abs/core/runit-scripts/runitscripts/3 b/abs/core/runit-scripts/runitscripts/3 index 1a4b384..062f2c6 100755 --- a/abs/core/runit-scripts/runitscripts/3 +++ b/abs/core/runit-scripts/runitscripts/3 @@ -1,7 +1,26 @@  #!/bin/sh + +PATH=/bin:/sbin:/usr/bin:/usr/sbin +  clear  . /etc/rc.conf  . /etc/rc.d/functions + +#continue plymouthd that was stopped in /etc/X11/Sessions/Linhes +cp -f /run/plymouth.pid /tmp/plymouthd +pidfile=/run/plymouth.pid +if [ -e "$pidfile" ]; then +    plypid=`cat "$pidfile"` +    if [ -n "$plypid" ]; then +        kill -s CONT "$plypid" +    fi +fi + +stat_busy "Waiting for services to stop..." +sv -w196 force-stop /service/* +sv exit /service/* +stat_done +  for i in `seq 3`  do  echo " " > /dev/tty1 @@ -18,8 +37,11 @@ then      /etc/runit/3.local      stat_done  fi -/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 + +plymouth quit --retain-splash  /etc/rc.shutdown | 
