]> git.meshlink.io Git - catta/blobdiff - initscript/fedora/avahi-daemon.in
ServiceResolver.cs: Only try to set ScopeId when the protocol is IPv6. Patch by
[catta] / initscript / fedora / avahi-daemon.in
index 46318cfa4ef6e2d665bc3f1ab836b9516a2586ed..69fac9bad1901bdb05df1df2ab618f099780389e 100644 (file)
@@ -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