summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+}