diff options
Diffstat (limited to 'openembedded/packages/lirc/files/lircexec.init')
-rwxr-xr-x | openembedded/packages/lirc/files/lircexec.init | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openembedded/packages/lirc/files/lircexec.init b/openembedded/packages/lirc/files/lircexec.init index a9724af0fa..3a8c1a306e 100755 --- a/openembedded/packages/lirc/files/lircexec.init +++ b/openembedded/packages/lirc/files/lircexec.init | |||
@@ -8,11 +8,12 @@ | |||
8 | 8 | ||
9 | 9 | ||
10 | test -f /usr/bin/irexec || exit 0 | 10 | test -f /usr/bin/irexec || exit 0 |
11 | test -f /etc/lircrc || exit 0 | ||
11 | 12 | ||
12 | case "$1" in | 13 | case "$1" in |
13 | start) | 14 | start) |
14 | echo -n "Starting lircexec daemon: irexec" | 15 | echo -n "Starting lircexec daemon: irexec" |
15 | start-stop-daemon --start --quiet --exec /usr/bin/irexec | 16 | start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon |
16 | echo "." | 17 | echo "." |
17 | ;; | 18 | ;; |
18 | stop) | 19 | stop) |
@@ -25,7 +26,7 @@ case "$1" in | |||
25 | start-stop-daemon --stop --quiet --exec /usr/bin/irexec | 26 | start-stop-daemon --stop --quiet --exec /usr/bin/irexec |
26 | sleep 1 | 27 | sleep 1 |
27 | echo -n "Starting lircexec daemon: irexec" | 28 | echo -n "Starting lircexec daemon: irexec" |
28 | start-stop-daemon --start --quiet --exec /usr/bin/irexec | 29 | start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon |
29 | echo "." | 30 | echo "." |
30 | ;; | 31 | ;; |
31 | *) | 32 | *) |