added extra product id to adamflash, signed of by <Andrew Ruthven <andrew@etc.gen.nz>

SVN-Revision: 9972
This commit is contained in:
John Crispin 2007-12-28 12:39:09 +00:00
parent 940d875b77
commit 98926663d6

View file

@ -257,7 +257,7 @@ print STDERR "checking hardware.. ";
my $prd = $ftp->getenv("ProductID"); my $prd = $ftp->getenv("ProductID");
my $usb = $ftp->getenv("usb_prod"); my $usb = $ftp->getenv("usb_prod");
print STDERR "$prd / $usb.\n"; print STDERR "$prd / $usb.\n";
($prd eq "AR7RD") or die "doesn't look like a DSL-502T?"; ($prd eq "AR7RD" || $prd eq "AR7DB") or die "doesn't look like a DSL-502T?";
($usb eq "DSL-502T") or die "doesn't look like a DSL-502T?"; ($usb eq "DSL-502T") or die "doesn't look like a DSL-502T?";
# #