From: Peter Müller Date: Sun, 18 Sep 2022 07:58:39 +0000 (+0000) Subject: Core Update 171: Ship and restart strongSwan X-Git-Tag: v2.27-core171~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78ba0514867f5b0bff0f15dd8600c8969a5f63b5;p=ipfire-2.x.git Core Update 171: Ship and restart strongSwan Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/171/filelists/strongswan b/config/rootfiles/core/171/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/171/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/config/rootfiles/core/171/update.sh b/config/rootfiles/core/171/update.sh index 3b961ee9e6..2c07d2f087 100644 --- a/config/rootfiles/core/171/update.sh +++ b/config/rootfiles/core/171/update.sh @@ -34,6 +34,7 @@ done # Stop services /etc/rc.d/init.d/squid stop /etc/rc.d/init.d/openvpn stop +/etc/rc.d/init.d/ipsec stop # Remove files rm -rvf \ @@ -149,6 +150,9 @@ ldconfig # Start services /etc/init.d/squid start /etc/init.d/openvpn 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