aboutsummaryrefslogtreecommitdiffstats
path: root/main/avahi/initscripts.patch
blob: 157c1957084f9fc4d275b52d3023f837579c6ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff --git a/initscript/gentoo/avahi-daemon.in b/initscript/gentoo/avahi-daemon.in
index 02eefe6..a430eb5 100644
--- a/initscript/gentoo/avahi-daemon.in
+++ b/initscript/gentoo/avahi-daemon.in
@@ -2,12 +2,12 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-opts="reload"
+extra_started_commands="reload"
 
 depend() {
 	before netmount nfsmount
 	use net
-	need dbus
+	need dbus hostname
 }
 
 start() {
diff --git a/initscript/gentoo/avahi-dnsconfd.in b/initscript/gentoo/avahi-dnsconfd.in
index 376067e..dff914c 100644
--- a/initscript/gentoo/avahi-dnsconfd.in
+++ b/initscript/gentoo/avahi-dnsconfd.in
@@ -2,7 +2,7 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-opts="reload"
+extra_started_commands="reload"
 
 depend() {
 	need avahi-daemon