X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=initscript%2Ffedora%2Favahi-daemon.in;h=c5b32307d2f4e85c55e7761a8e7b1b40a5e975aa;hb=23bfc90cf8039c9a3be290e37e30ba7775907f96;hp=d30986652d88ae6f0fb268d287c06bcb936cdb75;hpb=4079dd94f3425d503b5db5faca6561151a3b209f;p=catta diff --git a/initscript/fedora/avahi-daemon.in b/initscript/fedora/avahi-daemon.in index d309866..c5b3230 100644 --- a/initscript/fedora/avahi-daemon.in +++ b/initscript/fedora/avahi-daemon.in @@ -2,19 +2,19 @@ # # avahi-daemon: Starts the Avahi Daemon # -# chkconfig: 345 96 02 +# chkconfig: 345 24 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. \ # Avahi-daemon should not be running otherwise. # processname: avahi-daemon -# config: +# config: AVAHI_BIN=@sbindir@/avahi-daemon -if [ "$1" == 'status' ]; then +if [ "$1" = 'status' ]; then test -x $AVAHI_BIN || exit 4 -else +else test -x $AVAHI_BIN || exit 5 fi @@ -91,7 +91,7 @@ case "$1" in restart ;; reload) - reload + reload ;; condrestart) if [ -f $LOCKFILE ]; then @@ -105,4 +105,3 @@ case "$1" in esac exit $RETVAL -