summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system/LinHES-run
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/LinHES-system/LinHES-run')
-rw-r--r--abs/core-testing/LinHES-system/LinHES-run76
1 files changed, 76 insertions, 0 deletions
diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run
new file mode 100644
index 0000000..14028e3
--- /dev/null
+++ b/abs/core-testing/LinHES-system/LinHES-run
@@ -0,0 +1,76 @@
+#!/bin/sh
+. /etc/profile
+. /etc/systemconfig
+
+keylaunch &
+/usr/bin/tilda &
+/usr/X11R6/bin/unclutter -root -idle 0 -jitter 400 -noevents &
+/usr/bin/xvattr -a XV_COLORKEY -v 0
+mtd &
+#/usr/bin/nvidia-settings -l
+#/usr/bin/nvidia-settings -a InitialPixmapPlacement=2
+
+if [ x$ShowTips = "x1" ]
+then
+ echo "displaying hints!, line 15 of linhes-run"
+fi
+
+
+if [ ! $SystemType = "Frontend_only" ]
+then
+ if [ -f ~/.configure ]
+ then
+ autocard.py -g &
+ MythVantage -b
+
+#0 yes
+#1 yes/autodetech
+#2 no
+ STATUS=$?
+ if [ ! $STATUS = 2 ]
+ then
+ sudo sv stop mythbackend
+ /usr/local/bin/mythtv-setup
+ sudo sv start mythbackend
+ #maybe run mythfilldatabase here
+ fi
+ rm ~/.configure
+ fi
+fi
+
+
+if [ x"$UseMythWelcome" = "x1" ]
+then
+ STARTCMD="/usr/bin/mythwelcome"
+else
+ STARTCMD="/usr/bin/mythfrontend -d"
+fi
+
+echo "====================================================================="
+echo "Starting $STARTCMD"
+
+
+while [ x = x ]
+do
+ if [ -f /tmp/nomfe ]
+ then
+ sleep 120
+ else
+ if [ -f /tmp/debug ]
+ then
+
+ echo "using gbd/debug"
+ gdb /usr/bin/mythfrontend -x $MV_ROOT/mfegdbcommands.txt
+ #bash -c "osdClient.pl localhost 5000 'Restart: mdb.txt.mythfronte nd:::SYS' "&
+ mv gdb.txt gdb.txt.mythfrontend
+ sleep 10
+
+ else
+ killall -9 irexec
+ /usr/bin/irexec &
+ $STARTCMD 2>&1
+ fi
+ fi
+echo "_______________________________________________________"
+done
+