From fd18eca4a12fbd982f0cea4fa8764d2a4bc53e19 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 18 Nov 2005 23:59:08 +0000 Subject: [PATCH] arch linux init script patch by maro git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1010 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- initscript/archlinux/avahi-daemon.in | 10 +++++----- initscript/archlinux/avahi-dnsconfd.in | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/initscript/archlinux/avahi-daemon.in b/initscript/archlinux/avahi-daemon.in index e99b375..1050cb0 100644 --- a/initscript/archlinux/avahi-daemon.in +++ b/initscript/archlinux/avahi-daemon.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 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 -- 2.39.5