From: John Crispin Date: Fri, 28 Dec 2007 12:39:09 +0000 (+0000) Subject: added extra product id to adamflash, signed of by X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=98926663d619048d5f8e9ee69b1a4c84c16e6e97;p=openwrt%2Fstaging%2Flinusw.git added extra product id to adamflash, signed of by SVN-Revision: 9972 --- 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?"; #