aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-24 20:09:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-24 20:09:38 +0000
commitc20d7378e5fda249b2723850937056a0c92a1f21 (patch)
tree213428c6597cd8954b3b1a47d6e85dddf4532157 /target/linux/ar71xx/base-files
parent600b6efc41a2ae61a48335f86238349eb4918019 (diff)
downloadupstream-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-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
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