From: Peter Müller Date: Tue, 21 Nov 2023 19:06:27 +0000 (+0000) Subject: Core Update 182: Ship and restart Squid X-Git-Tag: v2.27-core182~16^2~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d99c8a28ecfd6c25fafd8b27fa284563e44c0201;p=ipfire-2.x.git Core Update 182: Ship and restart Squid Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/182/filelists/squid b/config/rootfiles/core/182/filelists/squid new file mode 120000 index 0000000000..2dc8372a0e --- /dev/null +++ b/config/rootfiles/core/182/filelists/squid @@ -0,0 +1 @@ +../../../common/squid \ No newline at end of file diff --git a/config/rootfiles/core/182/update.sh b/config/rootfiles/core/182/update.sh index 061f9dc875..b540825674 100644 --- a/config/rootfiles/core/182/update.sh +++ b/config/rootfiles/core/182/update.sh @@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +/etc/rc.d/init.d/squid stop # Extract files extract_files @@ -50,6 +51,9 @@ ldconfig /usr/local/bin/filesystem-cleanup # Start services +if [ -f /var/ipfire/proxy/enable ]; then + /etc/init.d/squid start +fi # This update needs a reboot... #touch /var/run/need_reboot