Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- lfs/avahi | 2 +- src/paks/avahi/install.sh | 4 ++++ src/paks/avahi/uninstall.sh | 1 + 3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/lfs/avahi b/lfs/avahi index 4b2b79ded..ae166a88c 100644 --- a/lfs/avahi +++ b/lfs/avahi @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = avahi -PAK_VER = 7 +PAK_VER = 8
DEPS = dbus libdaemon
diff --git a/src/paks/avahi/install.sh b/src/paks/avahi/install.sh index cb0266bae..9ec3050a1 100644 --- a/src/paks/avahi/install.sh +++ b/src/paks/avahi/install.sh @@ -34,4 +34,8 @@ ln -svf ../init.d/avahi /etc/rc.d/rc3.d/S65avahi ln -svf ../init.d/avahi /etc/rc.d/rc0.d/K35avahi ln -svf ../init.d/avahi /etc/rc.d/rc6.d/K35avahi restore_backup ${NAME} + +# Reload dbus to load avahi configuration +/etc/init.d/messagebus reload + start_service --background ${NAME} diff --git a/src/paks/avahi/uninstall.sh b/src/paks/avahi/uninstall.sh index 1c8e67c9a..1a5d7a620 100644 --- a/src/paks/avahi/uninstall.sh +++ b/src/paks/avahi/uninstall.sh @@ -26,3 +26,4 @@ stop_service ${NAME} make_backup ${NAME} remove_files rm -rf /etc/rc.d/rc*.d/*avahi +/etc/init.d/messagebus reload