aboutsummaryrefslogtreecommitdiff
path: root/net/mpd5/files/mpd4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/mpd5/files/mpd4.sh')
-rw-r--r--net/mpd5/files/mpd4.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/net/mpd5/files/mpd4.sh b/net/mpd5/files/mpd4.sh
deleted file mode 100644
index b267a10d13c5..000000000000
--- a/net/mpd5/files/mpd4.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-DAEMON=/usr/local/sbin/mpd4
-PIDFILE=/var/run/mpd4.pid
-
-case "$1" in
-start)
- if [ -f "${DAEMON}" -a -x "${DAEMON}" ]; then
- if [ -f "${PIDFILE}" ]; then
- echo ' mpd4 PID file found - not starting'
- else
- "${DAEMON}" -b -p "${PIDFILE}"
- echo -n ' mpd4'
- fi
- else
- echo ' "${DAEMON}" executable not found - mpd4 not starting'
- fi
- ;;
-stop)
- if [ -f "${PIDFILE}" ]; then
- read -r pid junk < "${PIDFILE}"
- kill ${pid}
- else
- echo ' mpd4 PID file not found - not killing'
- fi
- ;;
-restart)
- $0 stop
- sleep 2
- $0 start
- ;;
-*)
- echo "usage: ${0##*/} {start|stop|restart}" >&2
- ;;
-esac
-