diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2009-08-05 23:49:42 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2009-08-05 23:49:42 (GMT) |
commit | 36bd4717729470fa0d81b9320e453251b5deab79 (patch) | |
tree | e052d8d27aab351b1d6c4e5604b7f62669dad634 /abs/core-testing/LinHES-system | |
parent | e7ca4c28bfc6c8084dab195bea3bd408966859d8 (diff) | |
parent | 45d7a211c489481f16ba149c0ec849a089c80641 (diff) | |
download | linhes_pkgbuild-36bd4717729470fa0d81b9320e453251b5deab79.zip linhes_pkgbuild-36bd4717729470fa0d81b9320e453251b5deab79.tar.gz linhes_pkgbuild-36bd4717729470fa0d81b9320e453251b5deab79.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/LinHES-system')
-rw-r--r-- | abs/core-testing/LinHES-system/LinHES-run | 22 | ||||
-rw-r--r-- | abs/core-testing/LinHES-system/PKGBUILD | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run index 9e975ac..640b2f3 100644 --- a/abs/core-testing/LinHES-system/LinHES-run +++ b/abs/core-testing/LinHES-system/LinHES-run @@ -26,13 +26,35 @@ 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 & fi +# Run any scripting that applies to special hardware. These brand-specific commands that run +# after Tweaker will, of course, override generic or hardware-specific settings. +SpecialHardwareCommands() { + special_hardware_file=/myth/.special_hardware_type + special_hardware=`cat $special_hardware_file` + + case $special_hardware in + dragon*) + sudo -E twk_audio.pl --implement digital + sudo -E twk_dragon.pl --implement all + ;; + ausdragon*) + ;; + *) + # there are no brand-specific commands for configuring whatever + # special hardware the user chose + ;; + esac +} if [ ! $SystemType = "Frontend_only" ] then if [ -f ~/.configure ] then + # Run Tweaker, which applies generic and hardware-specific settings sudo -E tweaker.pl /bin/rm /tmp/fps # ??? clean up a temp file that will eventually be obsolete anyway + # Run any brand-specific commands, if necessary. + SpecialHardwareCommands sudo sv stop mythbackend xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup sudo sv start mythbackend diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD index 2920d11..96a8b5e 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=56 +pkgrel=59 arch=('i686') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin |