From db443a6be77b48a658ee48613f88bdf3ca31e6d7 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Tue, 13 Oct 2009 20:49:35 -0700
Subject: runit-scripts:lircd support for -r needed by huludesktop.

---
 abs/core-testing/runit-scripts/PKGBUILD                    |  2 +-
 .../runit-scripts/runitscripts/services/lircd/run          | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD
index 1615994..14297fd 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=95
+pkgrel=96
 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 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
-- 
cgit v0.12

