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