#!/bin/ash download() { curl --location --max-redirs 5 --max-time 7 --connect-timeout 2 "$@" } download_retry() { download --retry 3 --retry-max-time 12 "$@" }