summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-05 18:54:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-05 18:54:05 +0000
commit5b3fe9a221eca294a1e50589ffc419c5353aa705 (patch)
tree92e1800ce3ea7f29beb805cc0c17c5fa34211d0d /etc/inc
parentf6f7624a1f374e6945a37a32db3eb98487a2d72e (diff)
downloadpfsense-5b3fe9a221eca294a1e50589ffc419c5353aa705.zip
pfsense-5b3fe9a221eca294a1e50589ffc419c5353aa705.tar.gz
Start OpenVPN in the background.
Suggested-by: Fernando
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 33e3c65..5f290c7 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -357,7 +357,7 @@ function openvpn_restart($mode, $id) {
if ($settings['disable']) return;
$configfile = $g['varetc_path'] . "/openvpn_{$mode}{$id}.conf";
- mwexec("openvpn --config $configfile");
+ mwexec_bg("openvpn --config $configfile");
touch("{$g['tmp_path']}/filter_dirty");
}
OpenPOWER on IntegriCloud