From 48ff1200adcbc788717bf1658b196d76d7bc2c89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Wed, 18 Jan 2023 23:21:15 +0000 Subject: [PATCH] Core Update 173: Ship and restart strongSwan MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/173/filelists/strongswan | 1 + config/rootfiles/core/173/update.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 120000 config/rootfiles/core/173/filelists/strongswan diff --git a/config/rootfiles/core/173/filelists/strongswan b/config/rootfiles/core/173/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/173/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/config/rootfiles/core/173/update.sh b/config/rootfiles/core/173/update.sh index c58ba33019..fd5d6a5125 100644 --- a/config/rootfiles/core/173/update.sh +++ b/config/rootfiles/core/173/update.sh @@ -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 -- 2.39.5