diff options
author | Britney Fransen <brfransen@gmail.com> | 2012-01-05 05:25:57 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2012-01-05 05:25:57 (GMT) |
commit | aa12d00fa943d9e332638acc03ef32b1cc970d58 (patch) | |
tree | 9c8a3e2af3dd40898dd010d9c0d86162ca0fed1d /abs | |
parent | dbc8fe7c6b298d4a9d3c547cc48a45d33b606670 (diff) | |
download | linhes_pkgbuild-aa12d00fa943d9e332638acc03ef32b1cc970d58.zip linhes_pkgbuild-aa12d00fa943d9e332638acc03ef32b1cc970d58.tar.gz linhes_pkgbuild-aa12d00fa943d9e332638acc03ef32b1cc970d58.tar.bz2 |
runit-scripts: lircd run: change dvico detection to allow names like dvico-mine to work
Diffstat (limited to 'abs')
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/lircd/run | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index 2e0f57c..6ef0e51 100755 --- a/abs/core/runit-scripts/PKGBUILD +++ b/abs/core/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=2.1.1 -pkgrel=43 +pkgrel=44 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core/runit-scripts/runitscripts/services/lircd/run b/abs/core/runit-scripts/runitscripts/services/lircd/run index 480a884..3993795 100755 --- a/abs/core/runit-scripts/runitscripts/services/lircd/run +++ b/abs/core/runit-scripts/runitscripts/services/lircd/run @@ -43,7 +43,7 @@ else [ -e /var/run/lirc ] || mkdir -p /var/run/lirc function dvico_detect { - if [ x$Remotetype = "xdvico" ] || [ x$Remotetype = "xDvico-Dual-Digital4-rev2" ] + if [[ x$Remotetype = xdvico* ]] || [ x$Remotetype = "xDvico-Dual-Digital4-rev2" ] then RunDvico=true else @@ -127,7 +127,7 @@ else if [ $RunDvico = "true" ] then - if [ x$Remotetype = "xdvico" ] + if [[ x$Remotetype = xdvico* ]] then LCMD="/usr/sbin/lircd -r -n -d /dev/usb/dvicoIR --driver=dvico --output /var/run/lirc/lircd" else |