X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=494e774ef960777214148aa985648e8f5fe684bb;hb=b3fdd931d1b0a992f8977cb7c86c1f9eb10872a7;hp=1906f564e396bcfe0ed6d2ac21f9ba94af9d4251;hpb=557cf076b4a8a5305f3dce3c8ad56c6f5584e04f;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 1906f564e3..494e774ef9 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -14,6 +14,7 @@ platform_check_image() { [ "$ARGC" -gt 1 ] && return 1 case "$board" in + all0256n | \ bc2 | \ dir-300-b1 | \ dir-600-b1 | \ @@ -29,8 +30,10 @@ platform_check_image() { rt-n15 | \ w502u |\ v22rw-2x2 | \ + wl341v3 | \ wli-tx4-ag300n | \ - whr-g300n) + whr-g300n |\ + wr512-3gn) [ "$magic" != "2705" ] && { echo "Invalid image type." return 1