blob: deb5eac0940fc0f83bd474039d172c0946dbf347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# PROVIDE: mdnsd
# REQUIRE: DAEMON
# KEYWORD: shutdown
. /etc/rc.subr
name=mdnsd
rcvar=mdnsd_enable
load_rc_config $name
: ${mdnsd_enable="NO"}
: ${mdnsd_pidfile="/var/run/${name}.pid"}
command="%%PREFIX%%/sbin/${name}"
pidfile="${mdnsd_pidfile}"
run_rc_command $*
|