From 15e864ff1a4f791fecfa7f2c38980c043ff5c6b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Wed, 22 Nov 2023 14:51:29 +0000 Subject: [PATCH] Core Update 182: Ship and restart StrongSwan MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/182/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/182/update.sh b/config/rootfiles/core/182/update.sh index 0bcb91105a..b481f74008 100644 --- a/config/rootfiles/core/182/update.sh +++ b/config/rootfiles/core/182/update.sh @@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +/etc/rc.d/init.d/ipsec stop /etc/rc.d/init.d/squid stop /etc/rc.d/init.d/unbound stop @@ -58,6 +59,9 @@ ldconfig if [ -f /var/ipfire/proxy/enable ]; then /etc/init.d/squid start fi +if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then + /etc/rc.d/init.d/ipsec start +fi # This update needs a reboot... #touch /var/run/need_reboot -- 2.39.2