Mercurial > hg > aboriginal
diff include.sh @ 340:595332f94fea
Add timeout to wget, and add another mirror (impactlinux.com) so there's a
place to get toybox if landley.net is down. Busybox 1.2.2 wget doesn't support
timeouts so yank that and add it to the host-tools blacklist (which doubles
as the todo list for toybox). Also, the sha1sum I was using didn't match the
toybox _release_ tarball (probably some handrolled one I did).
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 31 May 2008 19:09:43 -0500 |
parents | 7a6033813fe5 |
children | 7f529baf0b57 |
line wrap: on
line diff
--- a/include.sh Sat May 31 18:16:56 2008 -0500 +++ b/include.sh Sat May 31 19:09:43 2008 -0500 @@ -101,7 +101,8 @@ # The extra "" is so we test the sha1sum after the last download. - for i in "$URL" http://www.landley.net/code/firmware/mirror/"$FILENAME" "" + for i in "$URL" http://impactlinux.com/firmware/mirror/"$FILENAME" \ + http://127.0.0.1/code/firmware/mirror/"$FILENAME" "" do # Return success if we have a valid copy of the file @@ -133,7 +134,7 @@ if [ -n "$i" ] then - wget -P "$SRCDIR" "$i" + wget -t 2 -T 20 -P "$SRCDIR" "$i" fi done