aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-03-07 09:54:59 +0000
committerJohn Crispin <john@openwrt.org>2014-03-07 09:54:59 +0000
commit96fa58bafd6b311a9a3686b704bf8074905c4bea (patch)
treea3d1d3c06fc423ed2acff476d6feb8a1903b3604 /target/linux/ramips/base-files/lib
parentd3f39e89a356185f94c184dbaa410d620f6162b5 (diff)
downloadupstream-96fa58bafd6b311a9a3686b704bf8074905c4bea.tar.gz
upstream-96fa58bafd6b311a9a3686b704bf8074905c4bea.tar.bz2
upstream-96fa58bafd6b311a9a3686b704bf8074905c4bea.zip
ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39786
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5a686e6719..a3a26cb23e 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -280,6 +280,9 @@ ramips_board_detect() {
*"V22SG")
name="v22sg"
;;
+ *"WRTNODE")
+ name="wrtnode"
+ ;;
*"Sercomm NA930")
name="na930"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 8bc2abd156..8ff6063f19 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -84,6 +84,8 @@ platform_check_image() {
ur-326n4g |\
ur-336un |\
wr512-3gn |\
+ wmr300 |\
+ wrtnode |\
x5 |\
x8)
[ "$magic" != "27051956" ] && {