freebsd-ports/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.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

17 lines
481 B
Bash

--- initscript/freebsd/avahi-dnsconfd.sh.in.orig Sun Nov 5 12:35:20 2006
+++ initscript/freebsd/avahi-dnsconfd.sh.in Sun Nov 5 12:36:24 2006
@@ -12,10 +12,12 @@
# DNS servers in a DHCP-like fashion with mDNS.
#
-avahi_dnsconfd_enable=${avahi_dnsconfd_enable-"NO"}
avahi_dnsconfd_flags=${avahi_dnsconfd_flags-"-D"}
-. /etc/rc.subr
+. /etc/rc.subr
+. %%GNOME_SUBR%%
+
+avahi_dnsconfd_enable=${avahi_dnsconfd_enable-${gnome_enable}}
name=avahi_dnsconfd
rcvar=`set_rcvar`