X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=initscript%2Ffedora%2Favahi-daemon.in;h=69fac9bad1901bdb05df1df2ab618f099780389e;hb=7a49810ba00b19a75189689eb8c3948dbc721966;hp=46318cfa4ef6e2d665bc3f1ab836b9516a2586ed;hpb=7c966a2bfbadce6e924fc6dd2053e614b0449ea2;p=catta diff --git a/initscript/fedora/avahi-daemon.in b/initscript/fedora/avahi-daemon.in index 46318cf..69fac9b 100644 --- a/initscript/fedora/avahi-daemon.in +++ b/initscript/fedora/avahi-daemon.in @@ -2,7 +2,7 @@ # # avahi-daemon: Starts the Avahi Daemon # -# chkconfig: 345 97 02 +# chkconfig: 345 96 02 # description: This is a daemon which runs on client machines to perform \ # Zeroconf service discovery on a network. avahi-daemon must be \ # running on systems that use Avahi for service discovery. \ @@ -16,10 +16,9 @@ OTHER_AVAHI_OPTS="" . /etc/init.d/functions . /etc/sysconfig/network - AVAHI_BIN=@sbindir@/avahi-daemon -if [ $1 == 'status' ]; then +if [ "$1" == 'status' ]; then test -x $AVAHI_BIN || exit 4 else test -x $AVAHI_BIN || exit 5 @@ -102,6 +101,7 @@ case "$1" in *) echo $"Usage: $0 {start|stop|status|restart|condrestart}" exit 2 + ;; esac exit $RETVAL