diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2009-08-05 00:50:18 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2009-08-05 00:50:18 (GMT) |
commit | 7498f1694307afbd9eaf8f250c93d39ed6f0f71a (patch) | |
tree | 609d5266664da0a26fe4111733368965f33f1280 /abs/core-testing/LinHES-system/LinHES-run | |
parent | 4216c43fb3c06eb4b4c65c044e8342d1e7672199 (diff) | |
parent | 867ad7675df57b474c20137505d49b7c75dd4df3 (diff) | |
download | linhes_pkgbuild-7498f1694307afbd9eaf8f250c93d39ed6f0f71a.zip linhes_pkgbuild-7498f1694307afbd9eaf8f250c93d39ed6f0f71a.tar.gz linhes_pkgbuild-7498f1694307afbd9eaf8f250c93d39ed6f0f71a.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/LinHES-system/LinHES-run')
-rw-r--r-- | abs/core-testing/LinHES-system/LinHES-run | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run index 776bdc4..9e975ac 100644 --- a/abs/core-testing/LinHES-system/LinHES-run +++ b/abs/core-testing/LinHES-system/LinHES-run @@ -10,10 +10,10 @@ xdotool mousemove -10 -10 /usr/X11R6/bin/unclutter -root -idle 1 -jitter 200 -noevents & if [ x"$Screensavertype" = "xgscreensaver" ] then - gnome-screensaver & + gnome-screensaver & elif [ x"$Screensavertype" = "xxscreensaver" ] then - xscreensaver -no-splash & + xscreensaver -no-splash & fi /usr/bin/xvattr -a XV_COLORKEY -v 0 @@ -29,45 +29,45 @@ fi if [ ! $SystemType = "Frontend_only" ] then - if [ -f ~/.configure ] - then + if [ -f ~/.configure ] + 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 + sudo chown -R mythtv.mythtv /home/mythtv nice -n 19 mythfilldatabase --quiet & rm ~/.configure - fi + fi fi if [ x"$UseMythWelcome" = "x1" ] then - STARTCMD="/usr/bin/mythwelcome" + STARTCMD="/usr/bin/mythwelcome" else - STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log" + STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log" fi echo "=====================================================================" echo "Starting $STARTCMD" firstboot.sh & - if [ -f /tmp/nomfe ] - then - exit 0 - else - 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 -d - $STARTCMD 2>&1 - fi - fi +if [ -f /tmp/nomfe ] +then + exit 0 +else + 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 -d + $STARTCMD 2>&1 + fi +fi |