X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/052222fc5f21d013a5524a6fc8f04442bcfafed4..b338f05ee4ea7a93400472733e4f5141b5e42cc5:/scripts/download.pl diff --git a/scripts/download.pl b/scripts/download.pl index 806ee8045..e885ff25f 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -63,7 +63,7 @@ sub download $options or $options = ""; $mirror =~ s/\/$//; - open WGET, "wget -t1 --timeout=20 $options -O- \"$mirror/$filename\" |" or die "Cannot launch wget.\n"; + open WGET, "wget -t5 --timeout=20 $options -O- \"$mirror/$filename\" |" or die "Cannot launch wget.\n"; open MD5SUM, "| $md5cmd > \"$target/$filename.md5sum\"" or die "Cannot launch md5sum.\n"; open OUTPUT, "> $target/$filename.dl" or die "Cannot create file $target/$filename.dl: $!\n"; my $buffer;