mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 20:16:49 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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...
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user