red.up: move update-dns-forwareders behind the firewall
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 19 Feb 2020 14:51:48 +0000 (14:51 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 19 Feb 2020 14:51:48 +0000 (14:51 +0000)
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/142/update.sh
src/initscripts/networking/red.up/22-update-dns-forwarders [moved from src/initscripts/networking/red.up/05-update-dns-forwarders with 100% similarity]

index ddf098e..34ea143 100644 (file)
@@ -51,11 +51,11 @@ etc/rc.d/init.d/networking/red.down/20-firewall
 etc/rc.d/init.d/networking/red.down/99-beep
 #etc/rc.d/init.d/networking/red.up
 etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
-etc/rc.d/init.d/networking/red.up/05-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/10-miniupnpd
 etc/rc.d/init.d/networking/red.up/10-multicast
 etc/rc.d/init.d/networking/red.up/10-static-routes
 etc/rc.d/init.d/networking/red.up/20-firewall
+etc/rc.d/init.d/networking/red.up/22-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/23-suricata
 etc/rc.d/init.d/networking/red.up/24-RS-qos
 etc/rc.d/init.d/networking/red.up/27-RS-squid
index ddf098e..34ea143 100644 (file)
@@ -51,11 +51,11 @@ etc/rc.d/init.d/networking/red.down/20-firewall
 etc/rc.d/init.d/networking/red.down/99-beep
 #etc/rc.d/init.d/networking/red.up
 etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
-etc/rc.d/init.d/networking/red.up/05-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/10-miniupnpd
 etc/rc.d/init.d/networking/red.up/10-multicast
 etc/rc.d/init.d/networking/red.up/10-static-routes
 etc/rc.d/init.d/networking/red.up/20-firewall
+etc/rc.d/init.d/networking/red.up/22-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/23-suricata
 etc/rc.d/init.d/networking/red.up/24-RS-qos
 etc/rc.d/init.d/networking/red.up/27-RS-squid
index e666ed8..9350b0e 100644 (file)
@@ -51,11 +51,11 @@ etc/rc.d/init.d/networking/red.down/20-firewall
 etc/rc.d/init.d/networking/red.down/99-beep
 #etc/rc.d/init.d/networking/red.up
 etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
-etc/rc.d/init.d/networking/red.up/05-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/10-miniupnpd
 etc/rc.d/init.d/networking/red.up/10-multicast
 etc/rc.d/init.d/networking/red.up/10-static-routes
 etc/rc.d/init.d/networking/red.up/20-firewall
+etc/rc.d/init.d/networking/red.up/22-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/23-suricata
 etc/rc.d/init.d/networking/red.up/24-RS-qos
 etc/rc.d/init.d/networking/red.up/27-RS-squid
index e666ed8..9350b0e 100644 (file)
@@ -51,11 +51,11 @@ etc/rc.d/init.d/networking/red.down/20-firewall
 etc/rc.d/init.d/networking/red.down/99-beep
 #etc/rc.d/init.d/networking/red.up
 etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
-etc/rc.d/init.d/networking/red.up/05-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/10-miniupnpd
 etc/rc.d/init.d/networking/red.up/10-multicast
 etc/rc.d/init.d/networking/red.up/10-static-routes
 etc/rc.d/init.d/networking/red.up/20-firewall
+etc/rc.d/init.d/networking/red.up/22-update-dns-forwarders
 etc/rc.d/init.d/networking/red.up/23-suricata
 etc/rc.d/init.d/networking/red.up/24-RS-qos
 etc/rc.d/init.d/networking/red.up/27-RS-squid
index 91d89c5..7f23ff1 100644 (file)
@@ -92,6 +92,10 @@ rm -rf /usr/lib/pppd/2.4.7
 # Extract files
 extract_files
 
+# move update forwarders below firewall
+mv -f /etc/rc.d/init.d/netowrking/red.up/05-update-dns-forwarders \
+      /etc/rc.d/init.d/netowrking/red.up/22-update-dns-forwarders
+
 # update linker config
 ldconfig