X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=8ebdea3018918e578af6b27d9465d0324fc17530;hb=68b5d34f69421264de6e5d77760fcc2bfe9ee687;hp=2f0228b823b776ed94f5095b84514b112f65aba5;hpb=4436979c83e0d9ef4d7c3162e9d573bb521f61ff;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 2f0228b823..8ebdea3018 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -111,7 +111,7 @@ tplink_pharos_check_image() { # 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 @@ -283,6 +283,7 @@ platform_check_image() { wpj342|\ wpj344|\ wpj531|\ + wpj563|\ wrt400n|\ wrtnode2q|\ wzr-450hp2|\ @@ -507,6 +508,7 @@ platform_check_image() { rb-951g-2hnd|\ rb-951ui-2hnd|\ rb-2011l|\ + rb-2011il|\ rb-2011uas|\ rb-2011uias|\ rb-2011uas-2hnd|\ @@ -519,6 +521,7 @@ platform_check_image() { c-60|\ nbg6716|\ r6100|\ + rambutan|\ wndr3700v4|\ wndr4300) nand_do_platform_check $board $1 @@ -661,6 +664,7 @@ platform_pre_upgrade() { c-60|\ nbg6716|\ r6100|\ + rambutan|\ rb-411|\ rb-411u|\ rb-433|\ @@ -681,6 +685,7 @@ platform_pre_upgrade() { rb-912uag-5hpnd|\ rb-951g-2hnd|\ rb-951ui-2hnd|\ + rb-2011il|\ rb-2011l|\ rb-2011uas|\ rb-2011uias|\