From: Michael Tremer Date: Thu, 7 Mar 2024 19:07:54 +0000 (+0000) Subject: core185: Ship squid X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b4cc72d4e64803a41d432541170b74d19f51eae;p=people%2Fstevee%2Fipfire-2.x.git core185: Ship squid Signed-off-by: Michael Tremer --- 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