Core Update 174: Ship and restart strongSwan

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2023-03-06 16:43:47 +00:00
parent ee80a12db0
commit 7ad27c5090
2 changed files with 5 additions and 0 deletions

View File

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

View File

@@ -33,6 +33,7 @@ done
# Stop services
/etc/rc.d/init.d/squid stop
/etc/rc.d/init.d/ipsec stop
# Extract files
extract_files
@@ -64,6 +65,9 @@ telinit u
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
# Rebuild initial ramdisk to apply microcode updates
dracut --regenerate-all --force