Commit e4f8b357 authored by Rohit Gupta's avatar Rohit Gupta

minor fix for iperf3 script

parent f6e4cc2b
...@@ -43,10 +43,10 @@ iperf3_args=(${args[@]:2}) ...@@ -43,10 +43,10 @@ iperf3_args=(${args[@]:2})
echo "args = ${args[@]}" echo "args = ${args[@]}"
echo "timeout = $timeout" echo "timeout = $timeout"
echo "iface = $iface" echo "iface = $iface"
echo "iperf_args = ${iperf_args[@]}" echo "iperf3_args = ${iperf3_args[@]}"
sleep $timeout sleep $timeout
while true; do var=`ifconfig $iface` ;sleep 1; if [ "$var" != "" ]; then break; fi ; done ; sleep 5 while true; do var=`ifconfig $iface` ;sleep 1; if [ "$var" != "" ]; then break; fi ; done ; sleep 5
iperf3 ${iperf_args[@]} iperf3 ${iperf3_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