Set wget retry options for fetching parameters

This will retry upon refused connections and similar errors, wait 1 second
before the next retry, time out after 10 seconds if no data is received or
the connection times out, plus try an infinite number of times.
This commit is contained in:
Kevin Gallagher 2016-10-10 20:34:55 -07:00
parent 4210e20c9c
commit f964718c83
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ function fetch_params {
--progress=dot:giga \
--output-document="$dlname" \
--continue \
--retry-connrefused --waitretry=1 --timeout=10 --tries 0 \
"$url"
shasum -a 256 --check <<EOF