diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-01-28 22:51:57 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-01-28 22:53:02 +0530 |
commit | 2eb2c1ec2dfba9fffd8616aa8c8e3990ef4bdc68 (patch) | |
tree | e62149cacd1ad633de75a9c8d279e16f5ec2f573 | |
parent | 61b412ef72c0aaabd110182edf363e0b585efd0e (diff) |
ubuntu: wlan-download-test: increase timeout to 1800
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | ubuntu/scripts/wlan-download-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubuntu/scripts/wlan-download-test.sh b/ubuntu/scripts/wlan-download-test.sh index 774f4eb..6d217b2 100755 --- a/ubuntu/scripts/wlan-download-test.sh +++ b/ubuntu/scripts/wlan-download-test.sh @@ -36,8 +36,8 @@ WLAN=`/sbin/ifconfig | grep wlan | awk '{print $1}'` echo "========" which curl -if [ $? == 0 ] ; then - curl --connect-timeout 5 --interface $WLAN $URL > $OUTPUT_FILE_NAME +if [ $? -eq 0 ] ; then + curl --connect-timeout 1800 --interface $WLAN $URL > $OUTPUT_FILE_NAME fi # Get md5sum of output_file |