X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Frootfiles%2Fcore%2F142%2Fupdate.sh;h=686e9ae89439dceb8b0abf221ce5e460b4cf40be;hp=581e8fd195a1c95d267481846334edb82827c3b6;hb=a344d3c902417a21b619c6e4f2a1aaf38e3044fe;hpb=f0e61c20b15ff13f90b4f776c9db90a28edd7107 diff --git a/config/rootfiles/core/142/update.sh b/config/rootfiles/core/142/update.sh index 581e8fd195..686e9ae894 100644 --- a/config/rootfiles/core/142/update.sh +++ b/config/rootfiles/core/142/update.sh @@ -88,13 +88,18 @@ rm -rf /usr/lib/python2.7/site-packages/ddns rm -rf /usr/lib/pppd/2.4.7 # Stop services +/etc/init.d/squid stop +/etc/init.d/suricata stop + +# drop unbound remove and update forwarders +rm -f /etc/rc.d/init.d/networking/red.down/05-*-dns-forwarders # 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 +# move update forwarders below suricata +mv -f /etc/rc.d/init.d/networking/red.up/*-update-dns-forwarders \ + /etc/rc.d/init.d/networking/red.up/25-update-dns-forwarders # update linker config ldconfig @@ -121,6 +126,9 @@ done /usr/local/bin/filesystem-cleanup # Start services +/etc/init.d/unbound restart +/etc/init.d/suricata start +/etc/init.d/squid start # remove lm_sensor config after collectd was started # to reserch sensors at next boot with updated kernel