]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core117: Ship updated strongswan
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 Nov 2017 12:40:53 +0000 (12:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 Nov 2017 12:40:53 +0000 (12:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/117/filelists/strongswan [new symlink]
config/rootfiles/core/117/update.sh

diff --git a/config/rootfiles/core/117/filelists/strongswan b/config/rootfiles/core/117/filelists/strongswan
new file mode 120000 (symlink)
index 0000000..90c727e
--- /dev/null
@@ -0,0 +1 @@
+../../../common/strongswan
\ No newline at end of file
index 51f40d99ab0da22d0a33d62e2f1c43bcdc8b2165..0a6621b39da511c62a71205e6e82960399724e38 100644 (file)
@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
 done
 
 # Stop services
 done
 
 # Stop services
+ipsec stop
 
 # Extract files
 extract_files
 
 # Extract files
 extract_files
@@ -50,6 +51,10 @@ chmod 600 \
 # Start services
 /etc/init.d/apache reload
 
 # 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
 
 # This update need a reboot...
 #touch /var/run/need_reboot