aboutsummaryrefslogtreecommitdiffstats
path: root/main/avahi/initscripts.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-05 13:46:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-05 13:46:16 +0000
commit5db039da57de8cc35955533b364cf9c36e3e7af8 (patch)
tree8daddb9814b39910533f3a07188b22c0407524a7 /main/avahi/initscripts.patch
parentee2f0898662cbc1731b865f5e218d952fed5d044 (diff)
main/avahi: fixi init script
- replace 'opts' with 'extra_started_commands' - start avahi after hostname is set fixes #1461
Diffstat (limited to 'main/avahi/initscripts.patch')
-rw-r--r--main/avahi/initscripts.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/avahi/initscripts.patch b/main/avahi/initscripts.patch
new file mode 100644
index 00000000000..157c1957084
--- /dev/null
+++ b/main/avahi/initscripts.patch
@@ -0,0 +1,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