summaryrefslogtreecommitdiff
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
parent940d875b77899fde472962051a5019c61ab50cb7 (diff)
downloadmtk-20170518-98926663d619048d5f8e9ee69b1a4c84c16e6e97.zip
mtk-20170518-98926663d619048d5f8e9ee69b1a4c84c16e6e97.tar.gz
mtk-20170518-98926663d619048d5f8e9ee69b1a4c84c16e6e97.tar.bz2
added extra product id to adamflash, signed of by <Andrew Ruthven <andrew@etc.gen.nz>
SVN-Revision: 9972
-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 6d1bf3c..13bdae6 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?";
#