From 3eaba41041460e17780cf5b78309caad687baa25 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 29 Nov 2017 12:40:53 +0000 Subject: [PATCH] core117: Ship updated strongswan Signed-off-by: Michael Tremer --- config/rootfiles/core/117/filelists/strongswan | 1 + config/rootfiles/core/117/update.sh | 5 +++++ 2 files changed, 6 insertions(+) create mode 120000 config/rootfiles/core/117/filelists/strongswan diff --git a/config/rootfiles/core/117/filelists/strongswan b/config/rootfiles/core/117/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/117/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/config/rootfiles/core/117/update.sh b/config/rootfiles/core/117/update.sh index 51f40d99ab..0a6621b39d 100644 --- a/config/rootfiles/core/117/update.sh +++ b/config/rootfiles/core/117/update.sh @@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +ipsec stop # Extract files extract_files @@ -50,6 +51,10 @@ chmod 600 \ # Start services /etc/init.d/apache reload +if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then + ipsec start +fi + # This update need a reboot... #touch /var/run/need_reboot -- 2.39.2