2006-04-17 01:04:21 -04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# PROVIDE: mtdaapd mt-daapd
|
|
|
|
# REQUIRE: DAEMON
|
|
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
|
|
# mt-daapd daemon.
|
|
|
|
#
|
|
|
|
# Created by Patrick Lemmens for NetBSD and FreeBSD.
|
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="mtdaapd"
|
|
|
|
realname="mt-daapd"
|
|
|
|
rcvar=$name
|
2006-05-01 04:29:07 -04:00
|
|
|
command="@prefix@/bin/${realname}"
|
2006-04-17 01:04:21 -04:00
|
|
|
pidfile="/var/run/${realname}.pid"
|
|
|
|
sig_stop="SIGINT"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|