X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/771e1b7b9dd9071e78ac6aa460bcb68240ff9d14..d9f49b62b28ebd245587854efa484974d90debbf:/scripts/adam2flash-502T.pl?ds=inline diff --git a/scripts/adam2flash-502T.pl b/scripts/adam2flash-502T.pl index 6d1bf3ce1..0ed296d60 100644 --- a/scripts/adam2flash-502T.pl +++ b/scripts/adam2flash-502T.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # D-Link DSL-502T flash utility # @@ -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?"; #