mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
committed by
Arne Fitzenreiter
parent
f8447c9d23
commit
eaad1d562c
@@ -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
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user