From: Arne Fitzenreiter Date: Thu, 9 Jul 2015 13:20:35 +0000 (+0200) Subject: core92: stop/start squid at update. X-Git-Tag: v2.17-core92~3 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=f7c98d3df1d0f7732b6089a9b211bb1328d37a82 core92: stop/start squid at update. --- diff --git a/config/rootfiles/core/92/update.sh b/config/rootfiles/core/92/update.sh index b8ebe95f62..083561fc19 100644 --- a/config/rootfiles/core/92/update.sh +++ b/config/rootfiles/core/92/update.sh @@ -32,6 +32,7 @@ do done # Stop services +/etc/init.d/squid stop /etc/init.d/ipsec stop # Extract files @@ -44,12 +45,12 @@ extract_files sudo -u nobody /srv/web/ipfire/cgi-bin/vpnmain.cgi rm -f /bin/[ -sync # Start services if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then /etc/init.d/ipsec start fi +/etc/init.d/squid start # This update need a reboot... touch /var/run/need_reboot @@ -61,6 +62,7 @@ sendprofile if [ -e /boot/grub/grub.cfg ]; then grub-mkconfig > /boot/grub/grub.cfg fi +sync # Don't report the exitcode last command exit 0