diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/frontend')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/frontend/finish | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/frontend/finish b/abs/core/runit-scripts/runitscripts/services/frontend/finish index 417488d..702b543 100755 --- a/abs/core/runit-scripts/runitscripts/services/frontend/finish +++ b/abs/core/runit-scripts/runitscripts/services/frontend/finish @@ -1,14 +1,23 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions +#!/bin/bash +exec 2>&1 +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions function cleanup(){ rm -f /etc/sv/frontend/.runtime/* printhl " Cleaning up /etc/sv/frontend/.runtime/" } +#unpause plymouthd that was paused in /etc/X11/Sessions/Linhes +pidfile=/run/plymouth.pid +if [ -e "$pidfile" ]; then + plypid=`cat "$pidfile"` + if [ -n "$plypid" ]; then + kill -s CONT "$plypid" + fi +fi + grep -q nox /proc/cmdline STATUS=$? if [ $STATUS = 0 ] @@ -42,4 +51,3 @@ else fi fi fi - |