aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:19:50 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:19:50 +0000
commitde7dce21a331dfe0fc63efd16f0d00e0a226de9b (patch)
tree5b41b6d187ad49b29405291df0e1a1f447faa459 /target/linux/ramips/base-files/etc
parentdf165974c32a6ad2499b815d9d9f72b250d622f8 (diff)
downloadupstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.gz
upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.bz2
upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.zip
ralink: add WRTnode2 platform and led support
Signed-off-by: xzmu <xzmu@wrtnode.com> SVN-Revision: 48049
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh5
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 719e9686ae..dafa3e98f1 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -117,6 +117,8 @@ ramips_setup_interfaces()
ubnt-erx|\
ur-326n4g|\
wrtnode|\
+ wrtnode2p | \
+ wrtnode2r | \
wt3020|\
zbt-wa05)
ucidef_add_switch "switch0" \
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 3e8a33186f..acc500b70e 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -181,6 +181,11 @@ get_status_led() {
wsr-600)
status_led="$board:orange:diag"
;;
+ wrtnode2r | \
+ wrtnode2p | \
+ wrtnode)
+ status_led="wrtnode:blue:indicator"
+ ;;
esac
}