diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-24 20:09:38 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-24 20:09:38 +0000 |
commit | c20d7378e5fda249b2723850937056a0c92a1f21 (patch) | |
tree | 213428c6597cd8954b3b1a47d6e85dddf4532157 /target/linux/ar71xx/base-files | |
parent | 600b6efc41a2ae61a48335f86238349eb4918019 (diff) | |
download | upstream-c20d7378e5fda249b2723850937056a0c92a1f21.tar.gz upstream-c20d7378e5fda249b2723850937056a0c92a1f21.tar.bz2 upstream-c20d7378e5fda249b2723850937056a0c92a1f21.zip |
ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
SVN-Revision: 29326
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 4 insertions, 1 deletions
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 |