diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-05-09 19:35:13 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-05-09 19:35:13 +0000 |
| commit | 30285dd379000284555a38c80b7d4dad472fe515 (patch) | |
| tree | 8755c94e0a945ddaf1c1f05d6a7158b67c8a298c /openembedded/packages/lirc/files/lircexec.init | |
| parent | 103c8510e0cdc03760885db52ffd2a6908a6f401 (diff) | |
| download | poky-30285dd379000284555a38c80b7d4dad472fe515.tar.gz | |
More packages merging with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@390 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 | *) |
