diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-11-20 22:16:44 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-11-20 22:16:44 +0000 |
commit | 9a5dbf20981281bb9935da975d1a228377c4d626 (patch) | |
tree | dbb191426cb0484366ffaa682cec575946bae2da /packages/lirc/files | |
parent | 7fa81dbd28ed24b0f9490278960c93c6be424742 (diff) |
lirc: fixed path to daemons in initscripts - close #453
Diffstat (limited to 'packages/lirc/files')
-rwxr-xr-x | packages/lirc/files/lircd.init | 12 | ||||
-rwxr-xr-x | packages/lirc/files/lircmd.init | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/packages/lirc/files/lircd.init b/packages/lirc/files/lircd.init index e549b7ede9..862575b924 100755 --- a/packages/lirc/files/lircd.init +++ b/packages/lirc/files/lircd.init @@ -6,28 +6,28 @@ # -test -f /usr/sbin/lircd || exit 0 +test -f /usr/ssbin/lircd || exit 0 case "$1" in start) echo -n "Starting lirc daemon: lircd" - start-stop-daemon --start --quiet --exec /usr/bin/lircd -- --device=/dev/lirc + start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- --device=/dev/lirc echo "." ;; stop) echo -n "Stopping lirc daemon: lircd" - start-stop-daemon --stop --quiet --exec /usr/bin/lircd + start-stop-daemon --stop --quiet --exec /usr/sbin/lircd echo "." ;; reload|force-reload) - start-stop-daemon --stop --quiet --signal 1 --exec /usr/bin/lircd + start-stop-daemon --stop --quiet --signal 1 --exec /usr/sbin/lircd ;; restart) echo -n "Stopping lirc daemon: lircd" - start-stop-daemon --stop --quiet --exec /usr/bin/lircd + start-stop-daemon --stop --quiet --exec /usr/sbin/lircd sleep 1 echo -n "Starting lirc daemon: lircd" - start-stop-daemon --start --quiet --exec /usr/bin/lircd -- --device=/dev/lirc + start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- --device=/dev/lirc echo "." ;; *) diff --git a/packages/lirc/files/lircmd.init b/packages/lirc/files/lircmd.init index 16296f41d9..1a96207dbb 100755 --- a/packages/lirc/files/lircmd.init +++ b/packages/lirc/files/lircmd.init @@ -6,28 +6,28 @@ # -test -f /usr/bin/lircmd || exit 0 +test -f /usr/sbin/lircmd || exit 0 case "$1" in start) echo -n "Starting lirc daemon: lircmd" - start-stop-daemon --start --quiet --exec /usr/bin/lircmd + start-stop-daemon --start --quiet --exec /usr/sbin/lircmd echo "." ;; stop) echo -n "Stopping lirc daemon: lircmd" - start-stop-daemon --stop --quiet --exec /usr/bin/lircmd + start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd echo "." ;; reload|force-reload) - start-stop-daemon --stop --quiet --signal 1 --exec /usr/bin/lircmd + start-stop-daemon --stop --quiet --signal 1 --exec /usr/sbin/lircmd ;; restart) echo -n "Stopping lirc daemon: lircmd" - start-stop-daemon --stop --quiet --exec /usr/bin/lircmd + start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd sleep 1 echo -n "Starting lirc daemon: lircmd" - start-stop-daemon --start --quiet --exec /usr/bin/lircmd + start-stop-daemon --start --quiet --exec /usr/sbin/lircmd echo "." ;; *) |