diff options
| author | cassio <cassiopc@gmail.com> | 2018-08-29 14:02:16 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2018-08-29 14:02:16 +0000 |
| commit | 6549cd3db18da0a44cc251828e44540ba295c6f8 (patch) | |
| tree | 4596dd991b621fc75a58a76f2af37486bfa04e22 /tools/boca-fixes | |
| parent | c0ed83f955cb851f67938719bdcaa809f165b86a (diff) | |
| download | boca-6549cd3db18da0a44cc251828e44540ba295c6f8.tar.gz boca-6549cd3db18da0a44cc251828e44540ba295c6f8.zip | |
better wget options
Diffstat (limited to 'tools/boca-fixes')
| -rw-r--r-- | tools/boca-fixes | 2 |
1 files changed, 1 insertions, 1 deletions
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 |