Browse Source

added extra product id to adamflash, signed of by <Andrew Ruthven <[email protected]>

SVN-Revision: 9972
John Crispin 18 years ago
parent
commit
98926663d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/adam2flash-502T.pl

+ 1 - 1
scripts/adam2flash-502T.pl

@@ -257,7 +257,7 @@ print STDERR "checking hardware.. ";
 my $prd = $ftp->getenv("ProductID");
 my $usb = $ftp->getenv("usb_prod");
 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?";
 
 #