summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-13 16:36:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-13 16:36:23 +0000
commit5f10ec3c36f8cadf32838cbe5b7953c442bc998e (patch)
tree582e4c25b87469aab61602091825efb3ed946246
parent54ca3eed5d3d0c9e97c8b27ac447e803f867e373 (diff)
downloadmtk-20170518-5f10ec3c36f8cadf32838cbe5b7953c442bc998e.zip
mtk-20170518-5f10ec3c36f8cadf32838cbe5b7953c442bc998e.tar.gz
mtk-20170518-5f10ec3c36f8cadf32838cbe5b7953c442bc998e.tar.bz2
ar71xx: fix switch-config for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35588
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network8
1 files changed, 1 insertions, 7 deletions
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 df2d98b..7d825d7 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -62,13 +62,6 @@ tew-673gru)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
;;
-dir-825-c1)
- ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
- ucidef_add_switch "switch0" "1" "1"
- ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
- ucidef_add_switch_vlan "switch0" "2" "0t 1"
- ;;
-
nbg460n_550n_550nh)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"
@@ -181,6 +174,7 @@ wzr-hp-g300nh)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
;;
+dir-825-c1|\
wndr4300)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"