diff options
author | Chris Buechler <cmb@pfsense.org> | 2011-01-23 01:37:00 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2011-01-23 01:37:00 -0500 |
commit | d0322e72068aa27232581b7e38e351515b511f9a (patch) | |
tree | 26eda5e7769e46f32468e083fb1fc24a4a7798be /config/iperfserver.xml | |
parent | f3ea1f4ba66fe80a435b8224a8eb15e3c732e04b (diff) | |
download | pfsense-packages-d0322e72068aa27232581b7e38e351515b511f9a.tar.gz pfsense-packages-d0322e72068aa27232581b7e38e351515b511f9a.tar.bz2 pfsense-packages-d0322e72068aa27232581b7e38e351515b511f9a.zip |
somewhat fix iperf server. Previously it would just launch it and hang php forever until you manually killed iperf. Now it launches the server in the background, but it's going to stay running forever. Probably ideally need a Start/Stop button for the server but this at least keeps it from killing the web interface
Diffstat (limited to 'config/iperfserver.xml')
-rw-r--r-- | config/iperfserver.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/iperfserver.xml b/config/iperfserver.xml index b133514d..99d8ba34 100644 --- a/config/iperfserver.xml +++ b/config/iperfserver.xml @@ -7,7 +7,7 @@ /* $Id$ */ /* ========================================================================== */ /* - authng.xml + iperfserver.xml part of pfSense (http://www.pfSense.com) Copyright (C) 2007 to whom it may belong All rights reserved. @@ -135,7 +135,7 @@ if($_POST['window'] != "") $iperf_options .= " -w {$_POST['window']}"; if($_POST['port'] != "") $iperf_options .= " -p {$_POST['port']}"; $iperf_options .= " -s"; - system("/usr/local/bin/iperf" . $iperf_options); + mwexec_bg("/usr/local/bin/iperf" . $iperf_options); </custom_add_php_command> </packagegui> |