]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core156: Ship strongswan
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Mar 2021 12:12:05 +0000 (12:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Mar 2021 12:12:05 +0000 (12:12 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/156/filelists/strongswan [new symlink]
config/rootfiles/core/156/update.sh

diff --git a/config/rootfiles/core/156/filelists/strongswan b/config/rootfiles/core/156/filelists/strongswan
new file mode 120000 (symlink)
index 0000000..90c727e
--- /dev/null
@@ -0,0 +1 @@
+../../../common/strongswan
\ No newline at end of file
index fca7d4cb6a75e6fe31c6a73e3a8e935d061f825e..8485d84a0bd62f0dba882456c5643c085a1600d1 100644 (file)
@@ -54,6 +54,9 @@ ldconfig
 # Start services
 telinit u
 /etc/init.d/suricata restart
+if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
+       /etc/init.d/ipsec restart
+fi
 
 # This update needs a reboot...
 #touch /var/run/need_reboot