[Pkg-utopia-maintainers] Bug#421928: /etc/init.d/avahi-daemon
outputs "Failed" on shutdown if not running
Markus Schoder
lists at gammarayburst.de
Wed May 2 15:24:21 UTC 2007
Package: avahi-daemon
Version: 0.6.18-4
I have disabled the avahi-daemon via /etc/default/avahi-daemon.
On shutdown the init script gives me an error message that the shutdown
failed even though the daemon is not running at all.
Please consider the following patch to shut up the init script in that
case:
--- avahi-daemon.old 2007-05-02 16:00:13.011172405 +0100
+++ avahi-daemon 2007-05-02 16:02:16.299246291 +0100
@@ -64,7 +64,7 @@
# Function that stops the daemon/service.
#
d_stop() {
- $DAEMON -c && $DAEMON -k
+ if $DAEMON -c; then $DAEMON -k; else true; fi
}
#
--
Markus
More information about the Pkg-utopia-maintainers
mailing list