From: Peter Müller Date: Mon, 6 Mar 2023 16:43:47 +0000 (+0000) Subject: Core Update 174: Ship and restart strongSwan X-Git-Tag: v2.27-core174~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ad27c50903b55a44d51c08760a085d8d9a73aae;p=ipfire-2.x.git Core Update 174: Ship and restart strongSwan Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/174/filelists/strongswan b/config/rootfiles/core/174/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/174/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/config/rootfiles/core/174/update.sh b/config/rootfiles/core/174/update.sh index 3f8263f220..9dcdb491fc 100644 --- a/config/rootfiles/core/174/update.sh +++ b/config/rootfiles/core/174/update.sh @@ -33,6 +33,7 @@ done # Stop services /etc/rc.d/init.d/squid stop +/etc/rc.d/init.d/ipsec stop # Extract files extract_files @@ -64,6 +65,9 @@ telinit u if [ -f /var/ipfire/proxy/enable ]; then /etc/init.d/squid start fi +if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then + /etc/rc.d/init.d/ipsec start +fi # Rebuild initial ramdisk to apply microcode updates dracut --regenerate-all --force