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
master
John Crispin 2007-12-28 12:39:09 +00:00
parent c6db78179d
commit 67cfacda7b
1 changed files with 1 additions and 1 deletions

View File

@ -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?";
#