mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
1d6b4b3f91
s#. %%RC_SUBR%%#. /etc/rc.subr#
26 lines
471 B
Bash
26 lines
471 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: mdnsresponder
|
|
# REQUIRE: DAEMON
|
|
#
|
|
# Howl's mDNSResponder, a Zeroconf (Bonjour) service advertisement daemon.
|
|
|
|
# Add the following lines to /etc/rc.conf to enable mdnsresponder:
|
|
# mdnsresponder_enable="YES"
|
|
# mdnsresponder_flags="<set as needed>"
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=mdnsresponder
|
|
rcvar=`set_rcvar`
|
|
|
|
command=%%PREFIX%%/bin/mDNSResponder
|
|
|
|
load_rc_config ${name}
|
|
|
|
mdnsresponder_enable=${mdnsresponder_enable-"NO"}
|
|
|
|
run_rc_command "$1"
|