diff options
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index ca5244b..45c3206 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -355,7 +355,7 @@ function openvpn_restart($mode, $id) { if ($settings['disable']) return; $configfile = $g['varetc_path'] . "/openvpn_{$mode}{$id}.conf"; - mwexec("openvpn --down \"touch /tmp/filter_dirty\" --learn-address \"touch /tmp/filter_dirty\" --route-up \"touch /tmp/filter_dirty\" --up \"touch /tmp/filter_dirty\" --config $configfile"); + mwexec("openvpn --config $configfile --down \"touch /tmp/filter_dirty\" --learn-address \"touch /tmp/filter_dirty\" --route-up \"touch /tmp/filter_dirty\" --up \"touch /tmp/filter_dirty\" "); touch("{$g['tmp_path']}/filter_dirty"); } |