summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-12-28 12:39:09 +0000
committerJohn Crispin <john@openwrt.org>2007-12-28 12:39:09 +0000
commit98926663d619048d5f8e9ee69b1a4c84c16e6e97 (patch)
treebd24fc03524a8f8e38187a8133a1d918a869acf8 /scripts
parent940d875b77899fde472962051a5019c61ab50cb7 (diff)
downloadmaster-31e0f0ae-98926663d619048d5f8e9ee69b1a4c84c16e6e97.tar.gz
master-31e0f0ae-98926663d619048d5f8e9ee69b1a4c84c16e6e97.tar.bz2
master-31e0f0ae-98926663d619048d5f8e9ee69b1a4c84c16e6e97.zip
added extra product id to adamflash, signed of by <Andrew Ruthven <andrew@etc.gen.nz>
SVN-Revision: 9972
Diffstat (limited to 'scripts')
-rw-r--r--scripts/adam2flash-502T.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/adam2flash-502T.pl b/scripts/adam2flash-502T.pl
index 6d1bf3ce1b..13bdae611a 100644
--- a/scripts/adam2flash-502T.pl
+++ b/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?";
#