X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=initscript%2Farchlinux%2Favahi-dnsconfd.in;h=667a0f62b3031b66468a5596ba021e3e16883cef;hb=e531334700dae878d9902956e5cfccd1cd331ffa;hp=beab29358b24782e101f0148017d8d397e971894;hpb=1faa5fc6cebd81807120c3d419e9c734172f196a;p=catta diff --git a/initscript/archlinux/avahi-dnsconfd.in b/initscript/archlinux/avahi-dnsconfd.in index beab293..667a0f6 100755 --- a/initscript/archlinux/avahi-dnsconfd.in +++ b/initscript/archlinux/avahi-dnsconfd.in @@ -36,21 +36,21 @@ DAEMON="@sbindir@/$NAME" case "$1" in start) stat_busy "Starting $DESC" - $DAEMON -D + $DAEMON -D > /dev/null 2>&1 if [ $? -gt 0 ]; then stat_fail else - add_daemon avahi-daemon + add_daemon $NAME stat_done fi ;; stop) stat_busy "Stopping $DESC" - $DAEMON -k + $DAEMON -k > /dev/null 2>&1 if [ $? -gt 0 ]; then stat_fail else - rm_daemon avahi-daemon + rm_daemon $NAME stat_done fi ;; @@ -60,7 +60,7 @@ case "$1" in ;; reload) stat_busy "Reloading services for $DESC" - $DAEMON -r + $DAEMON -r > /dev/null 2>&1 if [ $? -gt 0 ]; then stat_fail else