From 6549cd3db18da0a44cc251828e44540ba295c6f8 Mon Sep 17 00:00:00 2001 From: cassio Date: Wed, 29 Aug 2018 16:02:16 +0200 Subject: better wget options --- tools/boca-fixes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/boca-fixes b/tools/boca-fixes index b6d6bb4..af68867 100644 --- a/tools/boca-fixes +++ b/tools/boca-fixes @@ -25,7 +25,7 @@ fi tmpdate=$(date +%s%N) tmpfile=/root/.boca-updates.$tmpdate rm $tmpfile 2>/dev/null -wget --no-check-certificate -O $tmpfile https://$BOCAIP/boca/systemupdates/boca-updates >/dev/null 2>/dev/null +wget -4 -t 2 -T 5 --no-check-certificate -O $tmpfile https://$BOCAIP/boca/systemupdates/boca-updates >/dev/null 2>/dev/null if [ -f $tmpfile ]; then grep -q boca-updates $tmpfile if [ "$?" == "0" ]; then -- cgit v1.2.3