From 3a86abcf49861f24f51366657e5dadddfb4c3804 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Sun, 25 Jun 2023 20:59:55 +0000 Subject: [PATCH] Core Update 176: 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/176/filelists/strongswan | 1 + config/rootfiles/core/176/update.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 120000 config/rootfiles/core/176/filelists/strongswan diff --git a/config/rootfiles/core/176/filelists/strongswan b/config/rootfiles/core/176/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/176/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/config/rootfiles/core/176/update.sh b/config/rootfiles/core/176/update.sh index d802da6a4b..9c0ef54e47 100644 --- a/config/rootfiles/core/176/update.sh +++ b/config/rootfiles/core/176/update.sh @@ -33,6 +33,7 @@ done # Stop services /etc/init.d/suricata stop +/etc/rc.d/init.d/ipsec stop # Extract files extract_files @@ -58,6 +59,9 @@ ldconfig # Start services telinit u /etc/init.d/suricata start +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 -- 2.39.5