summaryrefslogtreecommitdiff
path: root/packages/lirc/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lirc/files')
-rwxr-xr-xpackages/lirc/files/lircexec.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/lirc/files/lircexec.init b/packages/lirc/files/lircexec.init
index d3329bdc37..3a8c1a306e 100755
--- a/packages/lirc/files/lircexec.init
+++ b/packages/lirc/files/lircexec.init
@@ -13,7 +13,7 @@ test -f /etc/lircrc || exit 0
case "$1" in
start)
echo -n "Starting lircexec daemon: irexec"
- start-stop-daemon --start --quiet --exec /usr/bin/irexec
+ start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon
echo "."
;;
stop)
@@ -26,7 +26,7 @@ case "$1" in
start-stop-daemon --stop --quiet --exec /usr/bin/irexec
sleep 1
echo -n "Starting lircexec daemon: irexec"
- start-stop-daemon --start --quiet --exec /usr/bin/irexec
+ start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon
echo "."
;;
*)