summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/LinHES-session
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-xabs/core/LinHES-system/LinHES-session17
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