aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-12-28 12:39:09 +0000
committerJohn Crispin <blogic@openwrt.org>2007-12-28 12:39:09 +0000
commit67cfacda7b1c0d62a332f59a699c6effd54da902 (patch)
tree93d56bca3857e0c24ad7150295fee7933d9237ad /scripts
parentc6db78179da3f316ccc4cb45d8366e057accc512 (diff)
downloadupstream-67cfacda7b1c0d62a332f59a699c6effd54da902.tar.gz
upstream-67cfacda7b1c0d62a332f59a699c6effd54da902.tar.bz2
upstream-67cfacda7b1c0d62a332f59a699c6effd54da902.zip
added extra product id to adamflash, signed of by <Andrew Ruthven <andrew@etc.gen.nz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9972 3c298f89-4303-0410-b956-a3cf2f4a3e73
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?";
#