From 46c8316642fe90df99de1c0b735f7f4ed9a44464 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Sun, 9 Jul 2023 15:11:34 +0000 Subject: [PATCH] Core Updte 177: 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/177/filelists/squid | 1 + config/rootfiles/core/177/update.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 config/rootfiles/core/177/filelists/squid diff --git a/config/rootfiles/core/177/filelists/squid b/config/rootfiles/core/177/filelists/squid new file mode 120000 index 0000000000..2dc8372a0e --- /dev/null +++ b/config/rootfiles/core/177/filelists/squid @@ -0,0 +1 @@ +../../../common/squid \ No newline at end of file diff --git a/config/rootfiles/core/177/update.sh b/config/rootfiles/core/177/update.sh index df89928034..ebe2b4fe5f 100644 --- a/config/rootfiles/core/177/update.sh +++ b/config/rootfiles/core/177/update.sh @@ -45,6 +45,7 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +/etc/rc.d/init.d/squid stop KVER="xxxKVERxxx" @@ -119,7 +120,7 @@ ldconfig # Start services /etc/init.d/ntp restart if [ -f /var/ipfire/proxy/enable ]; then - /etc/init.d/squid restart + /etc/init.d/squid start fi # Rebuild initial ramdisks -- 2.39.2