summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-04-21 20:05:24 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-04-21 20:05:24 (GMT)
commit4cfd5e39ef31085aec3209114a6f9a9ba657bed7 (patch)
treeb5aa746b77d7560ae874f9552c2ccc44814a5e60 /abs
parent97d9421d3499ab7b9fcc8459cc8d5cfb92dc60a5 (diff)
downloadlinhes_pkgbuild-4cfd5e39ef31085aec3209114a6f9a9ba657bed7.zip
linhes_pkgbuild-4cfd5e39ef31085aec3209114a6f9a9ba657bed7.tar.gz
linhes_pkgbuild-4cfd5e39ef31085aec3209114a6f9a9ba657bed7.tar.bz2
LinHES-config: add tatir and iguanaWorks support to irconfig
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/LinHES-config/PKGBUILD2
-rw-r--r--abs/core-testing/LinHES-config/ir_config.sh25
2 files changed, 24 insertions, 3 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 3f5bc58..1d01ca5 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=1.0
-pkgrel=394
+pkgrel=398
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan system-templates )
diff --git a/abs/core-testing/LinHES-config/ir_config.sh b/abs/core-testing/LinHES-config/ir_config.sh
index 5839104..69d8406 100644
--- a/abs/core-testing/LinHES-config/ir_config.sh
+++ b/abs/core-testing/LinHES-config/ir_config.sh
@@ -78,6 +78,7 @@ function setup_ir_remote {
esac
}
+
function setup_ir_receiver () {
echo "setup_ir_receiver"
case $ReceiverType in
@@ -85,20 +86,40 @@ function setup_ir_receiver () {
sed -i -e '/.*#lirc/d' ${BASE}/etc/modules.mythvantage
echo "lirc_serial #lirc" >> ${BASE}/etc/modules.mythvantage
load-modules-mythvantage.sh
+ remove_service.sh igdaemon
+ remove_service.sh tatir
;;
Usb-imon) echo "setup receiver-usb-imon"
sed -i -e '/.*#lirc/d' ${BASE}/etc/modules.mythvantage
echo "lirc_imon #lirc" >> ${BASE}/etc/modules.mythvantage
load-modules-mythvantage.sh
+ remove_service.sh igdaemon
+ remove_service.sh tatir
;;
- Hauppauge) echo "setup hauppauge reciever (lirc_i2c)"
+ Hauppauge) echo "setup hauppauge receiver (lirc_i2c)"
sed -i -e '/.*#lirc/d' ${BASE}/etc/modules.mythvantage
echo "lirc_i2c #lirc" >> ${BASE}/etc/modules.mythvantage
cp_and_log $TEMPLATES/modules/lirc_i2c.conf ${BASE}/etc/modprobe.d/lirc_i2c.conf
rmmod lirc_i2c 2>/dev/null
load-modules-mythvantage.sh
+ remove_service.sh igdaemon
+ remove_service.sh tatir
;;
+ iguanaIR-usb) echo "setup iguanaIR-usb receiver"
+ sed -i -e '/.*#lirc/d' ${BASE}/etc/modules.mythvantage
+ add_service.sh igdaemon
+ remove_service.sh tatir
+ ;;
+
+ tatir) echo "setup tatir receiver"
+ sed -i -e '/.*#lirc/d' ${BASE}/etc/modules.mythvantage
+ add_service.sh tatir
+ remove_service.sh igdaemon
+ ;;
+
*) sed -i -e '/.*#lirc/d' ${BASE}/etc/modules.mythvantage
+ remove_service.sh igdaemon
+ remove_service.sh tatir
;;
esac
@@ -229,4 +250,4 @@ function setupir () {
fi
setup_lcd
-} \ No newline at end of file
+}