Commit 0a9f80bd authored by Rohit Gupta's avatar Rohit Gupta
Browse files

wrapper for iperf scripts

parent dd2177ec
This diff is collapsed.
#arg1 timeout to wait before running the script
#arg2 interface
#arg3 iperf arguments
echo "args = $array"
echo "timeout = $timeout"
echo "iface = $iface"
echo "iperf_args = ${iperf_args[@]}"
sleep $timeout
while true; do var=`ifconfig $iface` ;sleep 1; if [ "$var" != "" ]; then break; fi ; done ; sleep 5
iperf ${iperf_args[@]}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment