Core Update 168: Ship and restart strongSwan

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-05-12 18:06:59 +00:00
parent b074ebd6ad
commit 27d1dc083e
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../common/strongswan

View File

@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
done
# Stop services
/etc/init.d/ipsec stop
/etc/init.d/squid stop
/usr/local/bin/openvpnctrl -k
/usr/local/bin/openvpnctrl -kn2n
@@ -128,6 +129,9 @@ esac
/usr/local/bin/openvpnctrl -s
/usr/local/bin/openvpnctrl -sn2n
/etc/init.d/suricata start
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
/etc/init.d/ipsec start
fi
# This update needs a reboot...
touch /var/run/need_reboot