initskripts: move unbound down after network down

this remove a bunch of unbound errors at shutdown because
network down try to reconfigure unbond. (e.g. disable forwarders)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2019-08-11 11:09:40 +02:00
parent 85dfdf5d25
commit 7c30831ad2
6 changed files with 14 additions and 10 deletions

View File

@@ -55,6 +55,10 @@ ldconfig
# Update Language cache
/usr/local/bin/update-lang-cache
# move unbound down after network down
mv /etc/rc.d/rc0.d/K79unbound /etc/rc.d/rc0.d/K86unbound
mv /etc/rc.d/rc6.d/K79unbound /etc/rc.d/rc6.d/K86unbound
# Start services
# This update needs a reboot...