summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/services/lircd
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-10-14 03:49:35 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-10-14 03:49:35 (GMT)
commitdb443a6be77b48a658ee48613f88bdf3ca31e6d7 (patch)
tree949998e55d423b40c775de3998104e9c3ac130ba /abs/core-testing/runit-scripts/runitscripts/services/lircd
parentbd25e500073a8f8090509223e1e004e0d98f0a33 (diff)
downloadlinhes_pkgbuild-db443a6be77b48a658ee48613f88bdf3ca31e6d7.zip
linhes_pkgbuild-db443a6be77b48a658ee48613f88bdf3ca31e6d7.tar.gz
linhes_pkgbuild-db443a6be77b48a658ee48613f88bdf3ca31e6d7.tar.bz2
runit-scripts:lircd support for -r needed by huludesktop.
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/lircd')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/run14
1 files changed, 7 insertions, 7 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
index 0a398ac..9498f02 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
@@ -82,14 +82,14 @@ else
if [ x$HostBlasterType = xCommandIR -o x$ReceiverType = xCommandIR ]
then
- CMD="/usr/sbin/lircd -n --driver=commandir"
+ CMD="/usr/sbin/lircd -r -n --driver=commandir"
printhl " Using commandir"
$CMD >>$LOG 2>>$LOG
#echo $CMD
elif [ x$HostBlasterType = xiguanaIR-usb -o x$ReceiverType = xiguanaIR-usb ]
then
sv start igdaemon
- CMD="/usr/sbin/lircd -n --driver=iguanaIR"
+ CMD="/usr/sbin/lircd -r -n --driver=iguanaIR"
printhl " Using iguanaIR usb"
#echo $CMD
$CMD >>$LOG 2>>$LOG
@@ -98,7 +98,7 @@ else
for i in `seq 1 $num_lirc`
do
- CMD="/usr/sbin/lircd -d /dev/lirc$i --output=/dev/lircd$i --pidfile=/var/run/lircd$i.pid --listen=876$i"
+ CMD="/usr/sbin/lircd -r -d /dev/lirc$i --output=/dev/lircd$i --pidfile=/var/run/lircd$i.pid --listen=876$i"
printhl " Device $i"
#echo $CMD
$CMD >>$LOG 2>>$LOG
@@ -109,9 +109,9 @@ else
then
if [ x$Remotetype = "xdvico" ]
then
- LCMD="/usr/sbin/lircd -n -d /dev/usb/dvicoIR --driver=dvico --output /dev/lircd"
+ LCMD="/usr/sbin/lircd -r -n -d /dev/usb/dvicoIR --driver=dvico --output /dev/lircd"
else
- LCMD="/usr/sbin/lircd -n -d /dev/input/irremote --driver=devinput --output /dev/lircd"
+ LCMD="/usr/sbin/lircd -r -n -d /dev/input/irremote --driver=devinput --output /dev/lircd"
fi
if [ $num_lirc -lt 0 ]
@@ -127,10 +127,10 @@ else
$CMD >> $LOG
LASTCMD="--connect=localhost:876$i $LASTCMD "
printhl " Device Dvico"
- /usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd $LASTCMD >>$LOG 2>>$LOG
+ /usr/sbin/lircd -r -n -d /dev/lirc0 --output /dev/lircd $LASTCMD >>$LOG 2>>$LOG
fi
else
- LCMD="/usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd $LASTCMD"
+ LCMD="/usr/sbin/lircd -r -n -d /dev/lirc0 --output /dev/lircd $LASTCMD"
#echo $LCMD
exec $LCMD >>$LOG 2>>$LOG
fi