diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-26 09:50:36 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-26 09:50:36 +0000 |
commit | c75b77b225d789087cf7384f0d60b6b71843aa56 (patch) | |
tree | 88c879be76896bd21c8f36e3281b56f52c5bc669 /target/linux/ar71xx/base-files/etc | |
parent | 02a40a7483ac56776434357c0cd1408cc3ca73e7 (diff) | |
download | master-187ad058-c75b77b225d789087cf7384f0d60b6b71843aa56.tar.gz master-187ad058-c75b77b225d789087cf7384f0d60b6b71843aa56.tar.bz2 master-187ad058-c75b77b225d789087cf7384f0d60b6b71843aa56.zip |
ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34885 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index bfe1416c85..b8585737ce 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -36,7 +36,8 @@ get_status_led() { all0305) status_led="eap7660d:green:ds4" ;; - ap136-010) + ap136-010|\ + ap136-020) status_led="ap136:green:status" ;; ap81) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index fe0ce03d9c..746393dd64 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -29,6 +29,13 @@ ap136-010) ucidef_add_switch_vlan "switch0" "2" "5 6" ;; +ap136-020) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" + ucidef_add_switch_vlan "switch0" "2" "5 6" + ;; + db120 |\ rb-2011l | \ rb-2011uas-2hnd) |