Lines 1-20
Link Here
|
1 |
--- initscript/freebsd/avahi-daemon.sh.in.orig 2010-06-25 02:54:22.000000000 +0200 |
1 |
--- initscript/freebsd/avahi-daemon.sh.in.orig 2015-12-14 11:07:58.000000000 +1100 |
2 |
+++ initscript/freebsd/avahi-daemon.sh.in 2012-01-15 19:03:55.000000000 +0100 |
2 |
+++ initscript/freebsd/avahi-daemon.sh.in 2015-12-14 11:09:50.000000000 +1100 |
3 |
@@ -9,13 +9,15 @@ |
3 |
@@ -4,18 +4,21 @@ |
|
|
4 |
# |
5 |
# PROVIDE: avahi_daemon |
6 |
# REQUIRE: DAEMON dbus |
7 |
+# BEFORE: mountd |
8 |
# KEYWORD: FreeBSD |
9 |
# |
4 |
# Avahi's mDNSResponder, a Zeroconf (Bonjour) service advertisement daemon. |
10 |
# Avahi's mDNSResponder, a Zeroconf (Bonjour) service advertisement daemon. |
5 |
# |
11 |
# |
6 |
|
12 |
|
7 |
-avahi_daemon_enable=${avahi_daemon_enable-"NO"} |
13 |
-avahi_daemon_enable=${avahi_daemon_enable-"NO"} |
8 |
avahi_daemon_flags=${avahi_daemon_flags-"-D"} |
14 |
avahi_daemon_flags=${avahi_daemon_flags-"-D"} |
9 |
|
15 |
|
10 |
. /etc/rc.subr |
16 |
. /etc/rc.subr |
11 |
+. %%GNOME_SUBR%% |
17 |
+. %%GNOME_SUBR%% |
12 |
+ |
18 |
+ |
13 |
+avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}} |
19 |
+avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}} |
14 |
|
20 |
|
15 |
name=avahi_daemon |
21 |
name=avahi_daemon |
16 |
-rcvar=`set_rcvar` |
22 |
-rcvar=`set_rcvar` |
17 |
+rcvar=avahi_daemon_enable |
23 |
+rcvar=avahi_daemon_enable |
18 |
|
24 |
|
19 |
start_cmd=avahi_daemon_start |
25 |
start_cmd=avahi_daemon_start |
20 |
stop_cmd=avahi_daemon_stop |
26 |
stop_cmd=avahi_daemon_stop |