projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar71xx] parse mac address on RouterBOARDs
[openwrt.git]
/
scripts
/
adam2flash-502T.pl
diff --git
a/scripts/adam2flash-502T.pl
b/scripts/adam2flash-502T.pl
index
6d1bf3c
..
13bdae6
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";
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?";
#
($usb eq "DSL-502T") or die "doesn't look like a DSL-502T?";
#
This page took
0.024985 seconds
and
4
git commands to generate.