From 4baa5f5378a559a80ba3834706214ebd2bb2ea04 Mon Sep 17 00:00:00 2001 From: juhosg 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 6ea97eda9..513f0d2f7 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 fd1136628..cc327e6a1 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