1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.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

18 lines
489 B
Bash

--- initscript/freebsd/avahi-daemon.sh.in.orig Sun Nov 5 12:35:16 2006
+++ initscript/freebsd/avahi-daemon.sh.in Sun Nov 5 12:36:51 2006
@@ -9,10 +9,12 @@
# Avahi's mDNSResponder, a Zeroconf (Bonjour) service advertisement daemon.
#
-avahi_daemon_enable=${avahi_daemon_enable-"NO"}
avahi_daemon_flags=${avahi_daemon_flags-"-D"}
-. /etc/rc.subr
+. /etc/rc.subr
+. %%GNOME_SUBR%%
+
+avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}}
name=avahi_daemon
rcvar=`set_rcvar`