From: John Crispin Date: Sat, 26 Jul 2014 20:35:46 +0000 (+0000) Subject: ramips: fix sysupgrade for asiarf awm003 X-Git-Tag: reboot~6410 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=08fb5fb326b3c39951f50472889ec7b66fd09e41;p=openwrt%2Fstaging%2Flynxis.git ramips: fix sysupgrade for asiarf awm003 Since the earlier r41797 change, the board_name for awm003 has been miscalculated, and sysupgrade has been broken. This seems to fix it. Signed-off-by: Russell Senior SVN-Revision: 41837 --- diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index f9ab1e33ba..ff3c2a5e5d 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -55,6 +55,9 @@ ramips_board_detect() { *"AsiaRF AWM002 EVB") name="awm002-evb" ;; + *"AsiaRF AWM003 EVB") + name="awm003-evb" + ;; *"AsiaRF AWAPN2403") name="awapn2403" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 8ada58b296..1ab3ab510f 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -26,6 +26,7 @@ platform_check_image() { ar725w | \ asl26555 | \ awm002-evb | \ + awm003-evb | \ awapn2403 | \ bc2 | \ broadway | \