From 4079dd94f3425d503b5db5faca6561151a3b209f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 27 Mar 2008 00:39:09 +0000 Subject: Make init scripts fail faster; patch from scop git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1757 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- initscript/mandriva/avahi-daemon.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'initscript/mandriva/avahi-daemon.in') diff --git a/initscript/mandriva/avahi-daemon.in b/initscript/mandriva/avahi-daemon.in index 2efbc6e..f285d3b 100644 --- a/initscript/mandriva/avahi-daemon.in +++ b/initscript/mandriva/avahi-daemon.in @@ -8,6 +8,9 @@ # Description: Avahi, a ZeroConf daemon whichs implements an mDNS stack ### END INIT INFO +AVAHI_BIN=@sbindir@/avahi-daemon +test -x $AVAHI_BIN || exit 5 + # Source function library. . /etc/init.d/functions @@ -16,9 +19,6 @@ # Check that networking is configured. [ ${NETWORKING} = "no" ] && exit 0 -AVAHI_BIN=@sbindir@/avahi-daemon -test -x $AVAHI_BIN || exit 5 - start() { echo -n $"Starting Avahi daemon: " $AVAHI_BIN -D -- cgit