core133: Ship updated vpnmain.cgi file and regenerate configuration
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jun 2019 04:08:31 +0000 (05:08 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jun 2019 04:08:31 +0000 (05:08 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/133/filelists/files
config/rootfiles/core/133/update.sh

index e822e75..97a603a 100644 (file)
@@ -4,4 +4,5 @@ etc/rc.d/init.d/smt
 srv/web/ipfire/cgi-bin/credits.cgi
 srv/web/ipfire/cgi-bin/dhcp.cgi
 srv/web/ipfire/cgi-bin/ovpnmain.cgi
+srv/web/ipfire/cgi-bin/vpnmain.cgi
 srv/web/ipfire/cgi-bin/vulnerabilities.cgi
index 7da865b..9d708f0 100644 (file)
@@ -59,6 +59,9 @@ telinit u
 # Update Language cache
 /usr/local/bin/update-lang-cache
 
+# Regenerate /etc/ipsec.conf
+sudo -u nobody /srv/web/ipfire/cgi-bin/vpnmain.cgi
+
 # Start services
 /usr/local/bin/ipsecctrl S
 /etc/init.d/suricata restart