mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Core Update 173: Ship and restart strongSwan
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/173/filelists/strongswan
Symbolic link
1
config/rootfiles/core/173/filelists/strongswan
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/strongswan
|
||||
@@ -44,6 +44,7 @@ for (( i=1; i<=$core; i++ )); do
|
||||
done
|
||||
|
||||
# Stop services
|
||||
/etc/rc.d/init.d/ipsec stop
|
||||
/usr/local/bin/openvpnctrl -k
|
||||
/usr/local/bin/openvpnctrl -kn2n
|
||||
|
||||
@@ -117,6 +118,9 @@ if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then
|
||||
/usr/local/bin/openvpnctrl -s
|
||||
/usr/local/bin/openvpnctrl -sn2n
|
||||
fi
|
||||
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
|
||||
# Regenerate all initrds
|
||||
dracut --regenerate-all --force
|
||||
|
||||
Reference in New Issue
Block a user