core90: Also regenerate IPsec configuration during the update
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 2 May 2015 12:29:46 +0000 (14:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 2 May 2015 12:29:46 +0000 (14:29 +0200)
config/rootfiles/core/90/update.sh

index 2a69278..68798cb 100644 (file)
@@ -195,6 +195,9 @@ fcrontab -z &>/dev/null
 # Generate ddns configuration file
 sudo -u nobody /srv/web/ipfire/cgi-bin/ddns.cgi
 
+# Regenerate IPsec configuration
+sudo -u nobody /srv/web/ipfire/cgi-bin/vpnmain.cgi
+
 # Update Language cache
 perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"