When the service is not running, the kill command will return an error
which will not be caught and forwarded to the caller of the initscript.
That way, the boot process might be paused which is fixed by this patch.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = avahi
-PAK_VER = 14
+PAK_VER = 15
DEPS = dbus libdaemon
stop)
boot_mesg "Stopping avahi..."
- /usr/sbin/avahi-daemon -k
+ /usr/sbin/avahi-daemon -k &>/dev/null
+ evaluate_retval
;;
reload)