mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 17:32:57 +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
@@ -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