minor fix for iperf3 script

This commit is contained in:
Rohit Gupta
2016-05-31 22:23:55 +02:00
parent f6e4cc2b0a
commit e4f8b35731
+2 -2
View File
@@ -43,10 +43,10 @@ iperf3_args=(${args[@]:2})
echo "args = ${args[@]}"
echo "timeout = $timeout"
echo "iface = $iface"
echo "iperf_args = ${iperf_args[@]}"
echo "iperf3_args = ${iperf3_args[@]}"
sleep $timeout
while true; do var=`ifconfig $iface` ;sleep 1; if [ "$var" != "" ]; then break; fi ; done ; sleep 5
iperf3 ${iperf_args[@]}
iperf3 ${iperf3_args[@]}