# is accepted (loading the first 1.5M of a remote image for this check seems
# a bit extreme)
dd if="$1" bs=1 skip=1511432 count=1024 2>/dev/null | while read line; do
- [ "$line" == "$model_string" ] && break
+ [ "$line" = "$model_string" ] && break
done || {
echo "Unsupported image (model not in support-list)"
return 1
wpj342|\
wpj344|\
wpj531|\
+ wpj563|\
wrt400n|\
wrtnode2q|\
wzr-450hp2|\
tl-mr3220|\
tl-mr3420-v2|\
tl-mr3420|\
+ tl-mr6400|\
tl-wa701nd-v2|\
tl-wa7210n-v2|\
tl-wa750re|\
tl-wr703n|\
tl-wr710n|\
tl-wr720n-v3|\
+ tl-wr740n-v6|\
tl-wr741nd-v4|\
tl-wr741nd|\
tl-wr802n-v1|\
rb-951g-2hnd|\
rb-951ui-2hnd|\
rb-2011l|\
+ rb-2011il|\
rb-2011uas|\
rb-2011uias|\
rb-2011uas-2hnd|\
return $?
;;
c-60|\
+ hiveap-121|\
nbg6716|\
r6100|\
+ rambutan|\
wndr3700v4|\
wndr4300)
nand_do_platform_check $board $1
case "$board" in
c-60|\
+ hiveap-121|\
nbg6716|\
r6100|\
+ rambutan|\
rb-411|\
rb-411u|\
rb-433|\
rb-912uag-5hpnd|\
rb-951g-2hnd|\
rb-951ui-2hnd|\
+ rb-2011il|\
rb-2011l|\
rb-2011uas|\
rb-2011uias|\