From d99c8a28ecfd6c25fafd8b27fa284563e44c0201 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Tue, 21 Nov 2023 19:06:27 +0000 Subject: [PATCH] Core Update 182: Ship and restart Squid MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/182/filelists/squid | 1 + config/rootfiles/core/182/update.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 120000 config/rootfiles/core/182/filelists/squid 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 -- 2.47.3