From 8e111d6f03f4e8f71bedd21e623700534ae7603b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 9 Feb 2024 11:26:55 +0000 Subject: [PATCH] core184: Ship squid Signed-off-by: Michael Tremer --- config/rootfiles/core/184/filelists/squid | 1 + config/rootfiles/core/184/update.sh | 5 +++++ 2 files changed, 6 insertions(+) create mode 120000 config/rootfiles/core/184/filelists/squid diff --git a/config/rootfiles/core/184/filelists/squid b/config/rootfiles/core/184/filelists/squid new file mode 120000 index 0000000000..2dc8372a0e --- /dev/null +++ b/config/rootfiles/core/184/filelists/squid @@ -0,0 +1 @@ +../../../common/squid \ No newline at end of file diff --git a/config/rootfiles/core/184/update.sh b/config/rootfiles/core/184/update.sh index d744b51191..c3593414e5 100644 --- a/config/rootfiles/core/184/update.sh +++ b/config/rootfiles/core/184/update.sh @@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +/etc/init.d/squid stop /etc/init.d/vnstat stop # Extract files @@ -80,6 +81,10 @@ telinit u /etc/init.d/vnstat start /etc/init.d/collectd restart +if [ -f /var/ipfire/proxy/enable ]; then + /etc/init.d/squid start +fi + # This update needs a reboot... touch /var/run/need_reboot -- 2.39.5