From c20d7378e5fda249b2723850937056a0c92a1f21 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 24 Nov 2011 20:09:38 +0000 Subject: ar71xx: fix wndr3800 machine name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the machine name in /proc/cpuinfo and luci status page machine name. Signed-off-by: Petri Rosenström SVN-Revision: 29326 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files/lib') diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 6ea97eda9c..513f0d2f75 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -169,6 +169,9 @@ ar71xx_board_name() { *WNDR3700v2) name="wndr3700v2" ;; + *WNDR3800) + name="wndr3800" + ;; *WNR2000) name="wnr2000" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index fd11366288..cc327e6a1c 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -133,7 +133,7 @@ platform_check_image() { } return 0 ;; - wndr3700v2) + wndr3700v2|wndr3800) [ "$magic_long" != "33373031" ] && { echo "Invalid image type." return 1 -- cgit v1.2.3