aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/iperf.xml1
-rw-r--r--packages/iperfserver.xml1
-rw-r--r--packages/netio.xml1
-rw-r--r--packages/netioserver.xml1
4 files changed, 4 insertions, 0 deletions
diff --git a/packages/iperf.xml b/packages/iperf.xml
index 088799f5..f33c81f9 100644
--- a/packages/iperf.xml
+++ b/packages/iperf.xml
@@ -95,6 +95,7 @@
</field>
</fields>
<custom_add_php_command>
+ mwexec("killall iperf");
$iperf_options = "";
if($_POST['protocol'] == "udp") $iperf_options .= " -u";
if($_POST['format'] == "bytes") $iperf_options .= " -f A";
diff --git a/packages/iperfserver.xml b/packages/iperfserver.xml
index c779d054..31eb6d27 100644
--- a/packages/iperfserver.xml
+++ b/packages/iperfserver.xml
@@ -80,6 +80,7 @@
</field>
</fields>
<custom_add_php_command>
+ mwexec("killall iperf");
$iperf_options = "";
if($_POST['protocol'] == "udp") $iperf_options .= " -u";
if($_POST['format'] == "bytes") $iperf_options .= " -f A";
diff --git a/packages/netio.xml b/packages/netio.xml
index e269928e..43cc4a58 100644
--- a/packages/netio.xml
+++ b/packages/netio.xml
@@ -39,6 +39,7 @@
</field>
</fields>
<custom_add_php_command>
+ mwexec("killall netio");
$netio_options = "";
if($_POST['port'] != "") $netio_options .= " -p {$_POST['port']}";
$netio_options .= $_POST['hostname'];
diff --git a/packages/netioserver.xml b/packages/netioserver.xml
index cd5712ba..611cbfa9 100644
--- a/packages/netioserver.xml
+++ b/packages/netioserver.xml
@@ -30,6 +30,7 @@
</field>
</fields>
<custom_add_php_command>
+ mwexec("killall netio");
if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}";
system("/usr/local/bin/netio -s" . $netioserver_options);
</custom_add_php_command>