default wget options

This commit is contained in:
olli 2024-04-24 16:07:51 +02:00
parent cc51aa469a
commit 9a3090b6b2

View File

@ -14,6 +14,9 @@ do
done done
## ##
# WGET Options
g_wget_opts="--timeout 10 --tries=2 --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36'"
# if runnign directly from shell # if runnign directly from shell
if echo $0 | egrep -q '^-bash$|^-su$' if echo $0 | egrep -q '^-bash$|^-su$'
then then