summaryrefslogtreecommitdiff
path: root/multimedia/mt-daapd/rc.mt-daapd
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mt-daapd/rc.mt-daapd')
-rw-r--r--multimedia/mt-daapd/rc.mt-daapd35
1 files changed, 0 insertions, 35 deletions
diff --git a/multimedia/mt-daapd/rc.mt-daapd b/multimedia/mt-daapd/rc.mt-daapd
deleted file mode 100644
index c2d88322b7..0000000000
--- a/multimedia/mt-daapd/rc.mt-daapd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# mt-daapd iTunes music server daemon.
-#
-
-start() {
- if [ -x /usr/sbin/mt-daapd ]; then
- echo "Starting mt-daapd iTunes server: /usr/sbin/mt-daapd"
- /usr/sbin/mt-daapd -c /etc/mt-daapd.conf 2> /dev/null
- sleep 1
- fi
-}
-
-stop() {
- echo "Killing mt-daapd iTunes server... "
- killall /usr/sbin/mt-daapd 2> /dev/null
-}
-
-# How to call it.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- sleep 1
- start
- ;;
- *)
- echo $"Usage: $0 {start|stop|restart}"
- ;;
-esac