kumquat-buildroot/package/mpd/S95mpd
Jérôme Pouiller adf6511013 Remove multimedia subdirectory
Unless it was a group of sub-packages, packages was never regrouped by
category. multimedia/ was an exception to this rule.

This patch move packages/multimedia/ sub-directories to packages/. It
keeps two subdirectories for gstream 0.10 and gstreamer 1.X.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-08 21:41:39 +02:00

31 lines
397 B
Bash

#!/bin/sh
start() {
echo -n "Starting mpd: "
start-stop-daemon --start --quiet --background --exec /usr/bin/mpd
echo "OK"
}
stop() {
echo -n "Stopping mpd: "
start-stop-daemon --stop --quiet --pidfile /var/run/mpd.pid
echo "OK"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
sleep 1
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac