diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/lircd/run | 4 |
1 files changed, 2 insertions, 2 deletions
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 |