projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
940d875
)
added extra product id to adamflash, signed of by <Andrew Ruthven <andrew@etc.gen.nz>
author
John Crispin
<john@openwrt.org>
Fri, 28 Dec 2007 12:39:09 +0000
(12:39 +0000)
committer
John Crispin
<john@openwrt.org>
Fri, 28 Dec 2007 12:39:09 +0000
(12:39 +0000)
SVN-Revision: 9972
scripts/adam2flash-502T.pl
patch
|
blob
|
history
diff --git
a/scripts/adam2flash-502T.pl
b/scripts/adam2flash-502T.pl
index 6d1bf3ce1b5e3e38a74dc04a2ca9e9065c58a347..13bdae611a614f11dce5c98a11da1de804c7160f 100644
(file)
--- 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?";
#