diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-29 21:16:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-29 21:16:48 (GMT) |
commit | 1a0666f61207432bdad49c494c16ccd1d06ba4b9 (patch) | |
tree | 425cd0313a05202e4511bcc245043c8268779665 /abs/core-testing/runit-scripts | |
parent | c93b924dcc87709cb91e6d3a454c24fdba8779ce (diff) | |
download | linhes_pkgbuild-1a0666f61207432bdad49c494c16ccd1d06ba4b9.zip linhes_pkgbuild-1a0666f61207432bdad49c494c16ccd1d06ba4b9.tar.gz linhes_pkgbuild-1a0666f61207432bdad49c494c16ccd1d06ba4b9.tar.bz2 |
Dvico remote is now a special case if detected.
Closes FS#24 pending feedback
Diffstat (limited to 'abs/core-testing/runit-scripts')
-rwxr-xr-x | abs/core-testing/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/services/lircd/run | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD index db82360..7d68dd4 100755 --- a/abs/core-testing/runit-scripts/PKGBUILD +++ b/abs/core-testing/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=1.8.0 -pkgrel=4 +pkgrel=5 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run index 4457b37..57b1b48 100755 --- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run +++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run @@ -2,6 +2,16 @@ exec 2>&1 run_lircd2=false . /etc/systemconfig + +function dvico_detect { + + + if [ x$Remotetype = "dvico" ] + then + DEVICE="/dev/usb/hiddev0" + fi +} + function imon_detect { if [ -e /dev/lirc_imon ] then @@ -27,6 +37,7 @@ case $ReceiverType in DEVICE=`ls /dev/lirc[0-9] 2>/dev/null |sort |sed '/./,$!d'|head -n 1 ` imon_detect + dvico_detect ;; esac |