From: Michael Tremer Date: Wed, 21 Jul 2021 14:41:57 +0000 (+0000) Subject: avahi: Reload dbus to load/unload policy X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eaad1d562cafa29e79083ebe82c135972afa9cba;p=people%2Fstevee%2Fipfire-2.x.git avahi: Reload dbus to load/unload policy Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/avahi b/lfs/avahi index 4b2b79ded0..ae166a88cd 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 cb0266bae8..9ec3050a1b 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 1c8e67c9a6..1a5d7a6205 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