summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
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
parentd3f39e89a356185f94c184dbaa410d620f6162b5 (diff)
downloadmtk-20170518-96fa58bafd6b311a9a3686b704bf8074905c4bea.zip
mtk-20170518-96fa58bafd6b311a9a3686b704bf8074905c4bea.tar.gz
mtk-20170518-96fa58bafd6b311a9a3686b704bf8074905c4bea.tar.bz2
ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39786
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
3 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 7034718..1cbf7bf 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -96,6 +96,7 @@ ramips_setup_interfaces()
f5d8235-v2 | \
hg255d | \
rt-n14u | \
+ wrtnode | \
ur-326n4g)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5a686e6..a3a26cb 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 8bc2abd..8ff6063 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" ] && {