diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-12-26 20:13:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-12-26 20:13:40 (GMT) |
commit | af515b99f692bcf1f0af57aabe8f7c1a950b32c5 (patch) | |
tree | d2cbd0bd7a159adac8ebc749e6c76d005ad4a42e /abs/core/LinHES-system/LinHES-session | |
parent | 45f667c9512475b4cb5c5290557dea854d056634 (diff) | |
parent | 816f6f419c662354f4224f8d82387fc27693b0fb (diff) | |
download | linhes_pkgbuild-af515b99f692bcf1f0af57aabe8f7c1a950b32c5.zip linhes_pkgbuild-af515b99f692bcf1f0af57aabe8f7c1a950b32c5.tar.gz linhes_pkgbuild-af515b99f692bcf1f0af57aabe8f7c1a950b32c5.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session index a8c8c09..c6d0b09 100755 --- a/abs/core/LinHES-system/LinHES-session +++ b/abs/core/LinHES-system/LinHES-session @@ -75,7 +75,7 @@ function start_x11vnc(){ . /etc/x11vnc.cfg x11vnc $x11vnc_options else - x11vnc -rfbport 5902 --passwd $xvncpassword + x11vnc -forever -rfbport 5902 --passwd $xvncpassword fi fi } @@ -286,12 +286,7 @@ function start_myth() { then STARTCMD="/usr/bin/mythwelcome" else - if pacman -Q mythtv | grep -q 0.24 - then - STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log" - else - STARTCMD="/usr/bin/mythfrontend $MYTH_ARGS" - fi + STARTCMD="/usr/bin/mythfrontend $MYTH_ARGS" fi echo "=====================================================================" @@ -304,10 +299,16 @@ function start_myth() { while [ $rc -ne 0 ] do msg "Waiting for connection to MythBackend" + sleep 6 /usr/LH/bin/be_check.py rc=$? - sleep 6 + if [ $rc -eq 0 ] + then + msg "Successful Connection to MythBackend" + fi done + sleep 3 #give time for MBE to be fully operational + fi #continue on with starting mythtv |