mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Core Update 168: Ship and restart strongSwan
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/168/filelists/strongswan
Symbolic link
1
config/rootfiles/core/168/filelists/strongswan
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/strongswan
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user