The init script defines an OPTIONS variable (which can be overriden by
an additional config file in /etc/default/avahi-daemon) but then ignores
this OPTIONS variable when starting the daemon.
---
 generic/etc/init.d/avahi-daemon |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/generic/etc/init.d/avahi-daemon b/generic/etc/init.d/avahi-daemon
index 7dc8be6..27c22cc 100644
--- a/generic/etc/init.d/avahi-daemon
+++ b/generic/etc/init.d/avahi-daemon
@@ -13,7 +13,7 @@ test -f /etc/default/avahi-daemon && . 
/etc/default/avahi-daemon
 
 start_proc(){
 $BINARY -c && return 0
-$BINARY -D
+$BINARY $OPTIONS
 case $? in
        0)
        echo " [+] (avahi-daemon)"
-- 
1.7.0.4


-- 
ptxdist mailing list
[email protected]

Reply via email to