Core Update 183: Ship and restart strongSwan

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2024-01-11 11:57:05 +00:00
parent 05d0278bf7
commit 3b2e37af22
2 changed files with 5 additions and 0 deletions

View File

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

View File

@@ -44,6 +44,7 @@ for (( i=1; i<=$core; i++ )); do
done
# Stop services
/etc/rc.d/init.d/ipsec stop
/etc/rc.d/init.d/apache stop
/etc/rc.d/init.d/sshd stop
@@ -119,6 +120,9 @@ ldconfig
if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then
/etc/init.d/sshd start
fi
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
/etc/rc.d/init.d/ipsec start
fi
# Rebuild initial ramdisks
dracut --regenerate-all --force