mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
openvpn: daemon is already in the config #3223
This commit is contained in:
parent
bbe0592b83
commit
156d6f7287
@ -1008,7 +1008,7 @@ function openvpn_restart($mode, $settings)
|
||||
/* start the new process */
|
||||
$fpath = "/var/etc/openvpn/{$mode_id}.conf";
|
||||
openvpn_clear_route($mode, $settings);
|
||||
mwexecf('/usr/local/sbin/openvpn --config %s --daemon', $fpath);
|
||||
mwexecf('/usr/local/sbin/openvpn --config %s', $fpath);
|
||||
|
||||
if (!file_exists("/var/run/booting")) {
|
||||
configd_run("filter reload");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user