From: Michael Tremer Date: Wed, 15 Jul 2026 13:31:28 +0000 (+0000) Subject: avahi: Prevent the service from blocking the shutdown X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad4a318b71ebdc9cea92de690cb19c351429c86e;p=ipfire-2.x.git avahi: Prevent the service from blocking the shutdown 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 --- diff --git a/lfs/avahi b/lfs/avahi index 1df11c70e..d391b6511 100644 --- a/lfs/avahi +++ b/lfs/avahi @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = avahi -PAK_VER = 14 +PAK_VER = 15 DEPS = dbus libdaemon diff --git a/src/initscripts/packages/avahi b/src/initscripts/packages/avahi index 9f1791121..d4d4a089c 100644 --- a/src/initscripts/packages/avahi +++ b/src/initscripts/packages/avahi @@ -30,7 +30,8 @@ case "$1" in stop) boot_mesg "Stopping avahi..." - /usr/sbin/avahi-daemon -k + /usr/sbin/avahi-daemon -k &>/dev/null + evaluate_retval ;; reload)