add incomplete ar7 hardware support (disabled by default)
[openwrt-10.03/.git] / scripts / download.pl
index 8042e2d07c67b22a0a07c4330dddcbaff4e21aee..df55b8f12e37a57b0b01119a11c9be4655aa6553 100755 (executable)
@@ -64,12 +64,20 @@ foreach my $mirror (@ARGV) {
                        };
                }
                close SF;
+       } elsif ($mirror =~ /^\@GNU\/(.+)$/) {
+               my $gnupath = $1;
+               push @mirrors, "ftp://ftp.gnu.org/gnu/$gnupath";
+               push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$gnupath";
+               push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$gnupath";
+               push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$gnupath";
        } else {
                push @mirrors, $mirror;
        }
 }
 
-push @mirrors, 'http://openwrt.inf.fh-brs.de/mirror';
+push @mirrors, 'http://mirror1.openwrt.org/';
+push @mirrors, 'http://mirror2.openwrt.org/';
+push @mirrors, 'http://openwrt.org/download/sources/';
 
 while (!$ok) {
        my $mirror = shift @mirrors;