Reload also the configuration not only the secrets before trying to apply existing configuration. Ticket #3981

This commit is contained in:
Ermal 2014-11-07 14:14:50 +01:00
parent a838048088
commit e82a1d11d6
1 changed files with 1 additions and 0 deletions

View File

@ -841,6 +841,7 @@ EOD;
/* Read secrets */
mwexec("/usr/local/sbin/ipsec rereadall", false);
/* Update configuration changes */
mwexec("/usr/local/sbin/ipsec update", false);
mwexec("/usr/local/sbin/ipsec reload", false);
} else {
mwexec("/usr/local/sbin/ipsec start", false);