avahi: Reload dbus to load/unload policy

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2021-07-21 14:41:57 +00:00
committed by Arne Fitzenreiter
parent f8447c9d23
commit eaad1d562c
3 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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}

View File

@@ -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