summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-19 02:48:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-19 02:48:01 (GMT)
commit9085159c06ba621bec77a344fbb59b7abc325b36 (patch)
treecbfcb825a5c637c722d96fd15036ecbfb08ec410 /abs/core-testing/LinHES-system
parent68217b1ebcee9980fde76f99909cf6c96063f0d3 (diff)
downloadlinhes_pkgbuild-9085159c06ba621bec77a344fbb59b7abc325b36.zip
linhes_pkgbuild-9085159c06ba621bec77a344fbb59b7abc325b36.tar.gz
linhes_pkgbuild-9085159c06ba621bec77a344fbb59b7abc325b36.tar.bz2
Force the user to run mythtv-setup.
Diffstat (limited to 'abs/core-testing/LinHES-system')
-rw-r--r--abs/core-testing/LinHES-system/LinHES-run59
-rw-r--r--abs/core-testing/LinHES-system/PKGBUILD2
2 files changed, 20 insertions, 41 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
diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD
index 441dda0..a2a4032 100644
--- a/abs/core-testing/LinHES-system/PKGBUILD
+++ b/abs/core-testing/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=1.0
-pkgrel=30
+pkgrel=31
arch=('i686')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin