mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
ipsec: style change
This commit is contained in:
parent
c8bcac1a85
commit
a37a922ade
@ -1289,9 +1289,9 @@ function ipsec_configure_do($verbose = false, $interface = '')
|
||||
service_log('Configuring IPsec VPN...', $verbose);
|
||||
|
||||
/* cleanup legacy ipsec.conf files */
|
||||
mwexec("rm -rf /usr/local/etc/ipsec.d");
|
||||
@unlink("/usr/local/etc/ipsec.conf");
|
||||
@unlink("/usr/local/etc/ipsec.secrets");
|
||||
mwexec('rm -rf /usr/local/etc/ipsec.d');
|
||||
@unlink('/usr/local/etc/ipsec.conf');
|
||||
@unlink('/usr/local/etc/ipsec.secrets');
|
||||
|
||||
ipsec_write_strongswan_conf();
|
||||
ipsec_write_cas();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user