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-run59
1 files changed, 19 insertions, 40 deletions
diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run
index 259ffc7..8b4a9f5 100644
--- a/abs/core-testing/LinHES-system/LinHES-run
+++ b/abs/core-testing/LinHES-system/LinHES-run
@@ -13,36 +13,23 @@ mtd &
if [ x$ShowTips = "x1" ]
then
- #echo "displaying hints!, line 15 of linhes-run"
echo "Alt+h for help" | osd_cat --font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" --shadow=3 --pos=middle --align=centre --offset=200 --color=yellow --delay=5 &
-
-
fi
if [ ! $SystemType = "Frontend_only" ]
then
if [ -f ~/.configure ]
- then
- sudo -E tweaker.pl
- /bin/rm /tmp/fps # ??? clean up a temp file that will eventually be obsolete anyway
- #autocard.py -g &
- MythVantage -b
-
-#0 yes
-#1 yes/autodetect
-#2 no
- STATUS=$?
- if [ ! $STATUS = 2 ]
- then
- sudo sv stop mythbackend
- xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup
- sudo sv start mythbackend
+ then
+ sudo -E tweaker.pl
+ /bin/rm /tmp/fps # ??? clean up a temp file that will eventually be obsolete anyway
+ sudo sv stop mythbackend
+ xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup
+ sudo sv start mythbackend
sudo chown -R mythtv.mythtv /home/mythtv
- nice -n 19 mythfilldatabase --quiet &
- fi
+ nice -n 19 mythfilldatabase --quiet &
rm ~/.configure
- fi
+ fi
fi
@@ -57,28 +44,20 @@ echo "====================================================================="
echo "Starting $STARTCMD"
firstboot.sh &
-# while [ x = x ]
-# do
if [ -f /tmp/nomfe ]
then
-# sleep 120
exit 0
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
+ if [ -f /tmp/debug ]
+ then
+ echo "using gbd/debug"
+ gdb /usr/bin/mythfrontend -x $MV_ROOT/mfegdbcommands.txt
+ mv gdb.txt gdb.txt.mythfrontend
+ sleep 10
+ else
+ killall -9 irexec
+ /usr/bin/irexec &
+ $STARTCMD 2>&1
+ fi
fi
-# echo "_______________________________________________________"
-# done