diff options
author | James Meyer <james.meyer@operamail.com> | 2010-08-30 22:24:02 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-08-30 22:24:02 (GMT) |
commit | c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc (patch) | |
tree | f4e4f7a91e1d9d90033fd99d89e5e26a2c144528 /abs/core/LinHES-system/LinHES-run | |
parent | 0e7b327a1ae444233f1308a95420f70540ad74a3 (diff) | |
download | linhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.zip linhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.tar.gz linhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.tar.bz2 |
RSYNC CORE:
resync core-testing -> core
Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/core/LinHES-system/LinHES-run')
-rwxr-xr-x[-rw-r--r--] | abs/core/LinHES-system/LinHES-run | 44 |
1 files changed, 35 insertions, 9 deletions
diff --git a/abs/core/LinHES-system/LinHES-run b/abs/core/LinHES-system/LinHES-run index 1b91def..d5a3a15 100644..100755 --- a/abs/core/LinHES-system/LinHES-run +++ b/abs/core/LinHES-system/LinHES-run @@ -1,13 +1,28 @@ #!/bin/sh +function msg(){ + echo -e "$1" | osd_cat --pos=middle --align=center --offset=200 --delay=5 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font & +} + . /etc/profile . /etc/systemconfig - +. /etc/unclutter.cfg || { + idle=1 + jitter=200 +} +. /etc/osd_cat.cfg || { + color=yellow + outline=2 + outlinecolour=black + shadow=0 + shadowcolour=black + font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" +} #keylaunch & #/usr/bin/tilda & #move mouse to corner -xdotool mousemove -10 -10 -/usr/X11R6/bin/unclutter -root -idle 1 -jitter 200 -noevents & +xdotool mousemove 0 0 +/usr/X11R6/bin/unclutter -root -idle $idle -jitter $jitter -noevents & if [ x"$Screensavertype" = "xgscreensaver" ] then gnome-screensaver & @@ -23,7 +38,7 @@ mtd & if [ x$ShowTips = "x1" ] then - echo "Alt+h for help" | osd_cat --font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" --shadow=3 --pos=middle --align=centre --offset=200 --color=yellow --delay=5 & + msg "Alt+h for help" & fi # Run any scripting that applies to special hardware. These brand-specific commands that run @@ -46,6 +61,13 @@ SpecialHardwareCommands() { esac } +#update apple trailers +if [[ x$RunFrontend = x1 && -f ~/.configure ]] +then + /usr/bin/php -q /usr/bin/myth_trailers_grabber > /home/mythtv/appletrailer.xml && /usr/bin/fix_aple_url.sh 2>/dev/null & +fi + + if [ ! $SystemType = "Frontend_only" ] then if [ -f ~/.configure ] @@ -60,12 +82,16 @@ then else rm -f ~/.no_meth fi - sudo sv stop mythbackend - xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup - sudo sv start mythbackend + sudo pacman -R myth2ipod myt2xvid3 + sudo pacman -S --noconfirm myth2ipod myt2xvid3 + sudo sv stop mythbackend + cat /data/database/dvd_transcode_r6.sql | mysql -u root mythconverg + 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 & - rm ~/.configure + nice -n 19 mythfilldatabase --quiet & + msg "Guide data is being loaded. \n Until this completes\n some shows will appear as unknown \n in the program guide." + rm ~/.configure fi fi |