diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-04-06 23:00:22 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-04-06 23:00:22 (GMT) |
commit | 18a16759c1ed3a84519ecb05e3601290bd91c0f1 (patch) | |
tree | 71b470bf471bc744b9fdf22e27983bd5b567bcee /abs/core/LinHES-system/LinHES-session | |
parent | d497ddcaf2064b008b39b291e4b1b1055ebde402 (diff) | |
download | linhes_pkgbuild-18a16759c1ed3a84519ecb05e3601290bd91c0f1.zip linhes_pkgbuild-18a16759c1ed3a84519ecb05e3601290bd91c0f1.tar.gz linhes_pkgbuild-18a16759c1ed3a84519ecb05e3601290bd91c0f1.tar.bz2 |
LinHES-system: LinHES-session: stop plymouthd. refs #891
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session index 14606fb..870428d 100755 --- a/abs/core/LinHES-system/LinHES-session +++ b/abs/core/LinHES-system/LinHES-session @@ -55,13 +55,13 @@ function keylaunch(){ fi echo "Checking if keylaunch is running" - if [ "$(pidof keylaunch)" ] + if [ "$(pidof keylaunch)" ] then echo "keylaunch is already running" else echo "Starting keylaunch" /usr/bin/keylaunch & - fi + fi fi } @@ -317,7 +317,6 @@ function start_myth() { fi done sleep 3 #give time for MBE to be fully operational - fi #continue on with starting mythtv @@ -396,6 +395,17 @@ function set_background() } +function stop_plymouth() +{ + #pause plymouthd and continue in /etc/sv/frontend/finish + pidfile=/run/plymouth.pid + if [ -e "$pidfile" ]; then + plypid=`cat "$pidfile"` + if [ -n "$plypid" ]; then + sudo kill -s STOP "$plypid" + fi + fi +} if [ x"$WM" = "fluxbox" ] @@ -418,6 +428,7 @@ start_screensaver notify_scan & auto_start & update_apple_trailers +stop_plymouth & first_configure show_help_tip start_myth |