summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/remotes/run15
1 files changed, 8 insertions, 7 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/remotes/run b/abs/core/runit-scripts/runitscripts/services/remotes/run
index 35d3f80..9d46b0e 100755
--- a/abs/core/runit-scripts/runitscripts/services/remotes/run
+++ b/abs/core/runit-scripts/runitscripts/services/remotes/run
@@ -68,21 +68,21 @@ then
CMD="/usr/sbin/lircd -r -n --driver=commandir"
printhl " Using commandir"
echo $CMD >>$LOG
- exec $CMD >>$LOG 2>>$LOG
+ $CMD >>$LOG 2>>$LOG
elif [ x$HostBlasterType = xiguanaIR-usb -o x$ReceiverType = xiguanaIR-usb ]
then
sv start igdaemon
CMD="/usr/sbin/lircd -r -n --driver=iguanaIR"
printhl " Using iguanaIR usb"
echo $CMD >>$LOG
- exec $CMD >>$LOG 2>>$LOG
+ $CMD >>$LOG 2>>$LOG
elif [ x$ReceiverType = "xSiliconDust_HDHR" ]
then
# if using the SiliconDust_HDHR as an I/R Receiver
CMD="/usr/sbin/lircd -H udp -d 5000 -n"
printhl " Using SiliconDust on port 5000"
echo $CMD >>$LOG
- exec $CMD >>$LOG 2>>$LOG
+ $CMD >>$LOG 2>>$LOG
else
LASTCMD=""
@@ -91,7 +91,7 @@ else
CMD="/usr/sbin/lircd -r -d /dev/lirc$i --output=/var/run/lirc/lircd$i --pidfile=/var/run/lircd$i.pid --listen=876$i"
printhl " Device $i"
echo $CMD >>$LOG
- exec $CMD >>$LOG 2>>$LOG
+ $CMD >>$LOG 2>>$LOG
LASTCMD="--connect=localhost:876$i $LASTCMD "
done
@@ -102,13 +102,14 @@ else
#program must not terminate.
stat_runit "Starting remotes from /etc/remote.run"
- echo "Starting remotes from /etc/remote.run" >>$LOG
- exec /etc/remote.run $LASTCMD >>$LOG 2>>$LOG
+ LCMD="/etc/remote.run $LASTCMD"
+ echo "Starting remotes from $LCMD" >>$LOG
+ exec $LCMD >>$LOG 2>>$LOG
else
echo "Disable in kernel remote driver" >>$LOG
in_kernel_support "disable"
LCMD="/usr/sbin/lircd -r -n -d /dev/lirc0 --output /var/run/lirc/lircd $LASTCMD"
- echo $LCMD >>$LOG
+ echo "Starting remotes from $LCMD" >>$LOG
exec $LCMD >>$LOG 2>>$LOG
fi
fi