aboutsummaryrefslogtreecommitdiffstats
path: root/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in
blob: acf93597a63b553da73620d3ddb1c0a2141b0e3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- initscript/freebsd/avahi-daemon.sh.in.orig  2010-08-26 00:51:39 UTC
+++ initscript/freebsd/avahi-daemon.sh.in
@@ -9,13 +9,15 @@
 # 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
+. %%GNOME_SUBR%%
+
+avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}}
 
 name=avahi_daemon
-rcvar=`set_rcvar`
+rcvar=avahi_daemon_enable
 
 start_cmd=avahi_daemon_start
 stop_cmd=avahi_daemon_stop