From 9a671e7ae4cb53cba2f479e02afae864ad06298d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Thu, 11 May 2023 20:06:06 +0000 Subject: [PATCH] Core Update 175: 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/175/filelists/squid | 1 + config/rootfiles/core/175/update.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 120000 config/rootfiles/core/175/filelists/squid diff --git a/config/rootfiles/core/175/filelists/squid b/config/rootfiles/core/175/filelists/squid new file mode 120000 index 0000000000..2dc8372a0e --- /dev/null +++ b/config/rootfiles/core/175/filelists/squid @@ -0,0 +1 @@ +../../../common/squid \ No newline at end of file diff --git a/config/rootfiles/core/175/update.sh b/config/rootfiles/core/175/update.sh index 2c106f69ef..f6355e22a0 100644 --- a/config/rootfiles/core/175/update.sh +++ b/config/rootfiles/core/175/update.sh @@ -47,6 +47,7 @@ done /etc/rc.d/init.d/apache stop /etc/rc.d/init.d/ntp stop /etc/rc.d/init.d/sshd stop +/etc/rc.d/init.d/squid stop /etc/rc.d/init.d/unbound stop /etc/rc.d/init.d/suricata stop @@ -144,6 +145,9 @@ fi if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then /etc/init.d/sshd start fi +if [ -f /var/ipfire/proxy/enable ]; then + /etc/init.d/squid start +fi # Regenerate all initrds dracut --regenerate-all --force -- 2.39.5