diff options
Diffstat (limited to 'packages/lirc/files/lircmd.init')
-rwxr-xr-x | packages/lirc/files/lircmd.init | 12 |
1 files changed, 6 insertions, 6 deletions
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 "." ;; *) |