From 3de76baafba1fdc3860f40ebc604c9a8e8324c4f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 26 Jul 2014 20:35:46 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41837 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 4 insertions(+) (limited to 'target/linux/ramips/base-files') 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 | \ -- cgit v1.2.3