diff options
Diffstat (limited to 'packages/mt-daapd/files/mt-daapd.init')
-rw-r--r-- | packages/mt-daapd/files/mt-daapd.init | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/packages/mt-daapd/files/mt-daapd.init b/packages/mt-daapd/files/mt-daapd.init deleted file mode 100644 index 7a35a72186..0000000000 --- a/packages/mt-daapd/files/mt-daapd.init +++ /dev/null @@ -1,41 +0,0 @@ -#! /bin/sh -# -# This is an init script for openembedded -# Copy it to /etc/init.d/mt-daapd and type -# > update-rc.d mt-daapd defaults 60 -# - - -test -f /usr/sbin/mt-daapd || exit 0 - -test -d /var/spool/mt-daapd || mkdir -p /var/spool/mt-daapd - -case "$1" in - start) - echo -n "Starting mt-daapd daemon: mt-daapd" - start-stop-daemon --start --quiet --exec /usr/sbin/mt-daapd - echo "." - ;; - stop) - echo -n "Stopping mt-daapd daemon: mt-daapd" - start-stop-daemon --stop --quiet --exec /usr/sbin/mt-daapd - echo "." - ;; - reload|force-reload) - start-stop-daemon --stop --quiet --signal 1 --exec /usr/sbin/mt-daapd - ;; - restart) - echo -n "Stopping mt-daapd daemon: mt-daapd" - start-stop-daemon --stop --quiet --exec /usr/sbin/mt-daapd - sleep 1 - echo -n "Starting mt-daapd daemon: mt-daapd" - start-stop-daemon --start --quiet --exec /usr/sbin/mt-daapd - echo "." - ;; - *) - echo "Usage: /etc/init.d/mt-daapd {start|stop|reload|restart|force-reload}" - exit 1 -esac - -exit 0 - |