diff options
author | Bob Igo <bob@stormlogic.com> | 2009-08-04 13:55:23 (GMT) |
---|---|---|
committer | Bob Igo <bob@stormlogic.com> | 2009-08-04 13:55:23 (GMT) |
commit | e633cd606ad2d54d458e8deee18e72c72ef52e4c (patch) | |
tree | a72e1bede3fa0586ffbb75f2bedebbd40d8a14e1 /abs/core-testing/LinHES-system/LinHES-run | |
parent | 5c8cfaa1443f28c64ae82624c6e1d6e139b4023a (diff) | |
download | linhes_pkgbuild-e633cd606ad2d54d458e8deee18e72c72ef52e4c.zip linhes_pkgbuild-e633cd606ad2d54d458e8deee18e72c72ef52e4c.tar.gz linhes_pkgbuild-e633cd606ad2d54d458e8deee18e72c72ef52e4c.tar.bz2 |
applied standard indentation rules to improve readability
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 |