aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-28 10:23:37 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-07-28 10:23:37 +0000
commit41d136f2c88e70aea3c9c536ff7361b4e181c6b9 (patch)
treec97518805e9524e01a09c35acae03109f74514b2 /target/linux/ar71xx/base-files/etc
parent6d8163505efd3e72ab987957afa018957f0e3b4c (diff)
downloadupstream-41d136f2c88e70aea3c9c536ff7361b4e181c6b9.tar.gz
upstream-41d136f2c88e70aea3c9c536ff7361b4e181c6b9.tar.bz2
upstream-41d136f2c88e70aea3c9c536ff7361b4e181c6b9.zip
ar71xx: add user-space support for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37576
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 85458c27fd..48c30eeabf 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -174,6 +174,9 @@ get_status_led() {
wnr2000)
status_led="wnr2000:green:power"
;;
+ wnr612-v2)
+ status_led="wnr612v2:green:power"
+ ;;
wp543)
status_led="wp543:green:diag"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index fd2ade8b7b..3d097511cb 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -168,7 +168,8 @@ tl-wr941nd)
tl-mr3420-v2 |\
tl-wr841n-v8 |\
-wnr2000-v3)
+wnr2000-v3 |\
+wnr612-v2)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"