From 31ef6ef02c255d593272f4bd30e1fb0f455f52de Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sun, 6 Mar 2005 17:57:28 +0000 Subject: Add temporary workaround for netio/iperf servers. --- packages/iperf.xml | 1 + packages/iperfserver.xml | 1 + packages/netio.xml | 1 + packages/netioserver.xml | 1 + 4 files changed, 4 insertions(+) (limited to 'packages') 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 @@ + 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 @@ + 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 @@ + 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 @@ + mwexec("killall netio"); if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}"; system("/usr/local/bin/netio -s" . $netioserver_options); -- cgit v1.2.3