#! /bin/sh
# Copyright (c) 2006 Pitty

# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}


case "$1" in
    start)
	/usr/local/sbin/mt-daapd
	;;
    stop)
	echo -n "Shutting down mt-daapd"
	/usr/bin/killall mt-daapd
	;;
    *)
	echo "Usage: $0 {start|stop}"
	exit 1
	;;
esac

