1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net/howl/files/mdnsresponder.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

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"