added extra product id to adamflash, signed of by <Andrew Ruthven <andrew@etc.gen.nz>
authorJohn Crispin <john@openwrt.org>
Fri, 28 Dec 2007 12:39:09 +0000 (12:39 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 28 Dec 2007 12:39:09 +0000 (12:39 +0000)
SVN-Revision: 9972

scripts/adam2flash-502T.pl

index 6d1bf3ce1b5e3e38a74dc04a2ca9e9065c58a347..13bdae611a614f11dce5c98a11da1de804c7160f 100644 (file)
@@ -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?";
 
 #