]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
initskripts: move unbound down after network down
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 11 Aug 2019 09:09:40 +0000 (11:09 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 11 Aug 2019 09:09:40 +0000 (11:09 +0200)
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>
config/rootfiles/common/aarch64/initscripts
config/rootfiles/common/armv5tel/initscripts
config/rootfiles/common/i586/initscripts
config/rootfiles/common/x86_64/initscripts
config/rootfiles/core/136/update.sh
lfs/initscripts

index 260a961fef7aa788b27f507342479e0fe8442f38..8a025c3bfcd4702158bf01b0e9070ac68000b361 100644 (file)
@@ -109,11 +109,11 @@ etc/rc.d/rc0.d/K51vnstat
 etc/rc.d/rc0.d/K77conntrackd
 etc/rc.d/rc0.d/K78suricata
 etc/rc.d/rc0.d/K79leds
-etc/rc.d/rc0.d/K79unbound
 etc/rc.d/rc0.d/K80network
 etc/rc.d/rc0.d/K82wlanclient
 #etc/rc.d/rc0.d/K84bluetooth
 #etc/rc.d/rc0.d/K85messagebus
+etc/rc.d/rc0.d/K86unbound
 etc/rc.d/rc0.d/K87acpid
 etc/rc.d/rc0.d/K90sysklogd
 etc/rc.d/rc0.d/S60sendsignals
@@ -162,11 +162,11 @@ etc/rc.d/rc6.d/K51vnstat
 etc/rc.d/rc6.d/K77conntrackd
 etc/rc.d/rc6.d/K78suricata
 etc/rc.d/rc6.d/K79leds
-etc/rc.d/rc6.d/K79unbound
 etc/rc.d/rc6.d/K80network
 etc/rc.d/rc6.d/K82wlanclient
 #etc/rc.d/rc6.d/K84bluetooth
 #etc/rc.d/rc6.d/K85messagebus
+etc/rc.d/rc6.d/K86unbound
 etc/rc.d/rc6.d/K87acpid
 etc/rc.d/rc6.d/K90sysklogd
 etc/rc.d/rc6.d/S60sendsignals
index 260a961fef7aa788b27f507342479e0fe8442f38..8a025c3bfcd4702158bf01b0e9070ac68000b361 100644 (file)
@@ -109,11 +109,11 @@ etc/rc.d/rc0.d/K51vnstat
 etc/rc.d/rc0.d/K77conntrackd
 etc/rc.d/rc0.d/K78suricata
 etc/rc.d/rc0.d/K79leds
-etc/rc.d/rc0.d/K79unbound
 etc/rc.d/rc0.d/K80network
 etc/rc.d/rc0.d/K82wlanclient
 #etc/rc.d/rc0.d/K84bluetooth
 #etc/rc.d/rc0.d/K85messagebus
+etc/rc.d/rc0.d/K86unbound
 etc/rc.d/rc0.d/K87acpid
 etc/rc.d/rc0.d/K90sysklogd
 etc/rc.d/rc0.d/S60sendsignals
@@ -162,11 +162,11 @@ etc/rc.d/rc6.d/K51vnstat
 etc/rc.d/rc6.d/K77conntrackd
 etc/rc.d/rc6.d/K78suricata
 etc/rc.d/rc6.d/K79leds
-etc/rc.d/rc6.d/K79unbound
 etc/rc.d/rc6.d/K80network
 etc/rc.d/rc6.d/K82wlanclient
 #etc/rc.d/rc6.d/K84bluetooth
 #etc/rc.d/rc6.d/K85messagebus
+etc/rc.d/rc6.d/K86unbound
 etc/rc.d/rc6.d/K87acpid
 etc/rc.d/rc6.d/K90sysklogd
 etc/rc.d/rc6.d/S60sendsignals
index d74fb743b898e3f56132fc467cda3ec9e1b9122c..4349cd61877510839ad4d9f40b641df61d354d84 100644 (file)
@@ -108,11 +108,11 @@ etc/rc.d/rc0.d/K51vnstat
 etc/rc.d/rc0.d/K77conntrackd
 etc/rc.d/rc0.d/K78suricata
 etc/rc.d/rc0.d/K79leds
-etc/rc.d/rc0.d/K79unbound
 etc/rc.d/rc0.d/K80network
 etc/rc.d/rc0.d/K82wlanclient
 #etc/rc.d/rc0.d/K84bluetooth
 #etc/rc.d/rc0.d/K85messagebus
+etc/rc.d/rc0.d/K86unbound
 etc/rc.d/rc0.d/K87acpid
 etc/rc.d/rc0.d/K90sysklogd
 etc/rc.d/rc0.d/S60sendsignals
@@ -161,11 +161,11 @@ etc/rc.d/rc6.d/K51vnstat
 etc/rc.d/rc6.d/K77conntrackd
 etc/rc.d/rc6.d/K78suricata
 etc/rc.d/rc6.d/K79leds
-etc/rc.d/rc6.d/K79unbound
 etc/rc.d/rc6.d/K80network
 etc/rc.d/rc6.d/K82wlanclient
 #etc/rc.d/rc6.d/K84bluetooth
 #etc/rc.d/rc6.d/K85messagebus
+etc/rc.d/rc6.d/K86unbound
 etc/rc.d/rc6.d/K87acpid
 etc/rc.d/rc6.d/K90sysklogd
 etc/rc.d/rc6.d/S60sendsignals
index d74fb743b898e3f56132fc467cda3ec9e1b9122c..4349cd61877510839ad4d9f40b641df61d354d84 100644 (file)
@@ -108,11 +108,11 @@ etc/rc.d/rc0.d/K51vnstat
 etc/rc.d/rc0.d/K77conntrackd
 etc/rc.d/rc0.d/K78suricata
 etc/rc.d/rc0.d/K79leds
-etc/rc.d/rc0.d/K79unbound
 etc/rc.d/rc0.d/K80network
 etc/rc.d/rc0.d/K82wlanclient
 #etc/rc.d/rc0.d/K84bluetooth
 #etc/rc.d/rc0.d/K85messagebus
+etc/rc.d/rc0.d/K86unbound
 etc/rc.d/rc0.d/K87acpid
 etc/rc.d/rc0.d/K90sysklogd
 etc/rc.d/rc0.d/S60sendsignals
@@ -161,11 +161,11 @@ etc/rc.d/rc6.d/K51vnstat
 etc/rc.d/rc6.d/K77conntrackd
 etc/rc.d/rc6.d/K78suricata
 etc/rc.d/rc6.d/K79leds
-etc/rc.d/rc6.d/K79unbound
 etc/rc.d/rc6.d/K80network
 etc/rc.d/rc6.d/K82wlanclient
 #etc/rc.d/rc6.d/K84bluetooth
 #etc/rc.d/rc6.d/K85messagebus
+etc/rc.d/rc6.d/K86unbound
 etc/rc.d/rc6.d/K87acpid
 etc/rc.d/rc6.d/K90sysklogd
 etc/rc.d/rc6.d/S60sendsignals
index 2de4cf5b8f669c743ce6193366fc7e9c187f8157..7dcf87b62a58c1f1eaa66fc28bc1323074fc497d 100644 (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...
index 68cab0ba2b50aed75c7a0af04dfaf24574c7a516..d74e0c6509135855284d1483575a62e5703ba888 100644 (file)
@@ -126,9 +126,9 @@ $(TARGET) :
        ln -sf ../init.d/network     /etc/rc.d/rc0.d/K80network
        ln -sf ../init.d/network     /etc/rc.d/rc3.d/S20network
        ln -sf ../init.d/network     /etc/rc.d/rc6.d/K80network
-       ln -sf ../init.d/unbound     /etc/rc.d/rc0.d/K79unbound
+       ln -sf ../init.d/unbound     /etc/rc.d/rc0.d/K86unbound
        ln -sf ../init.d/unbound     /etc/rc.d/rc3.d/S11unbound
-       ln -sf ../init.d/unbound     /etc/rc.d/rc6.d/K79unbound
+       ln -sf ../init.d/unbound     /etc/rc.d/rc6.d/K86unbound
        ln -sf ../init.d/random      /etc/rc.d/rc0.d/K45random
        ln -sf ../init.d/random      /etc/rc.d/rc3.d/S00random
        ln -sf ../init.d/random      /etc/rc.d/rc6.d/K45random