diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-05 11:04:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-05 11:04:40 +0100 |
commit | f37ae8b0f302a089baae50b18195b03c2f789ea4 (patch) | |
tree | d760b055988f14a5d579162e6f105fa983eeb688 /initscript | |
parent | c90c318dbbfa73a00951cdf96c51d13d7b23c44a (diff) | |
parent | c3c0f3d47e49ab6814d4de3ee41a0c5caf0265b9 (diff) |
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/avahi
Diffstat (limited to 'initscript')
-rw-r--r-- | initscript/fedora/avahi-daemon.in | 11 | ||||
-rw-r--r-- | initscript/fedora/avahi-dnsconfd.in | 2 |
2 files changed, 6 insertions, 7 deletions
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 - diff --git a/initscript/fedora/avahi-dnsconfd.in b/initscript/fedora/avahi-dnsconfd.in index 284c10b..de49d7f 100644 --- a/initscript/fedora/avahi-dnsconfd.in +++ b/initscript/fedora/avahi-dnsconfd.in @@ -12,7 +12,7 @@ AVAHI_BIN=@sbindir@/avahi-dnsconfd -if [ "$1" == 'status' ]; then +if [ "$1" = 'status' ]; then test -x $AVAHI_BIN || exit 4 else test -x $AVAHI_BIN || exit 5 |