From 8b4cc72d4e64803a41d432541170b74d19f51eae Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 7 Mar 2024 19:07:54 +0000 Subject: [PATCH] core185: Ship squid Signed-off-by: Michael Tremer --- config/rootfiles/core/185/filelists/squid | 1 + config/rootfiles/core/185/update.sh | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 config/rootfiles/core/185/filelists/squid diff --git a/config/rootfiles/core/185/filelists/squid b/config/rootfiles/core/185/filelists/squid new file mode 120000 index 000000000..2dc8372a0 --- /dev/null +++ b/config/rootfiles/core/185/filelists/squid @@ -0,0 +1 @@ +../../../common/squid \ No newline at end of file diff --git a/config/rootfiles/core/185/update.sh b/config/rootfiles/core/185/update.sh index 0a3fae638..a24f61692 100644 --- a/config/rootfiles/core/185/update.sh +++ b/config/rootfiles/core/185/update.sh @@ -33,6 +33,7 @@ done # Stop services /etc/init.d/ntp stop +/etc/init.d/squid stop # Extract files extract_files @@ -87,7 +88,9 @@ telinit u /etc/init.d/suricata restart /etc/init.d/unbound restart /etc/init.d/ntp start - +if [ -f /var/ipfire/proxy/enable ]; then + /etc/init.d/squid start +f ## Modify ovpnconfig according to bug 13548 for no-pass entry for N2N client connections # Check if ovpnconfig exists and is not empty if [ -s /var/ipfire/ovpn/ovpnconfig ]; then -- 2.39.5