mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
OpenVPN, oops missed some debug output in https://github.com/opnsense/core/issues/2348
This commit is contained in:
parent
07791dcb47
commit
41cbf22e8e
@ -1071,7 +1071,6 @@ function openvpn_csc_conf_write($settings, $server)
|
||||
|
||||
$vpnid = filter_var($server['vpnid'], FILTER_SANITIZE_NUMBER_INT);
|
||||
$target_filename = "/var/etc/openvpn-csc/".$vpnid."/".$settings['common_name'];
|
||||
echo $target_filename . "\n";
|
||||
file_put_contents($target_filename, $conf);
|
||||
chown($target_filename, 'nobody');
|
||||
chgrp($target_filename, 'nobody');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user