diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/3')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/3 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/3 b/abs/core/runit-scripts/runitscripts/3 index 91617e5..062f2c6 100755 --- a/abs/core/runit-scripts/runitscripts/3 +++ b/abs/core/runit-scripts/runitscripts/3 @@ -6,6 +6,16 @@ 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/* @@ -32,4 +42,6 @@ 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 |