Core Update 182: Ship and restart strongSwan

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2023-11-22 14:56:09 +00:00
parent 7c3540fa93
commit 54dbdf552c
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/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