aboutsummaryrefslogtreecommitdiff
path: root/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in')
-rw-r--r--net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in b/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in
new file mode 100644
index 000000000000..564577bf0b9e
--- /dev/null
+++ b/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in
@@ -0,0 +1,17 @@
+--- 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
++. %%RC_SUBR%%
++. %%GNOME_SUBR%%
++
++avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}}
+
+ name=avahi_daemon
+ rcvar=`set_rcvar`