diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-08-31 16:41:27 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-09-25 22:42:03 +0200 |
commit | 724875b8d051b2b66cf3f02fe2ab3a554ba76d2b (patch) | |
tree | f85f2e96eab297c1b51bed3019f57db8cd08a49f | |
parent | af63436d2d0dc3c07d1cb11b018e486994942c6c (diff) | |
download | upstream-724875b8d051b2b66cf3f02fe2ab3a554ba76d2b.tar.gz upstream-724875b8d051b2b66cf3f02fe2ab3a554ba76d2b.tar.bz2 upstream-724875b8d051b2b66cf3f02fe2ab3a554ba76d2b.zip |
ramips: merge cases in 02_network
This merges three cases with a single switch port.
6t@eth0 and 6@eth0 should be equivalent.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 14 |
1 files changed, 4 insertions, 10 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 23cb057d70..947bf1428d 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -290,9 +290,11 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "3:lan" "5:wan" "6@eth0" ;; comfast,cf-wr800n|\ - hnet,c108) + hnet,c108|\ + tplink,tl-wr902ac-v3|\ + trendnet,tew-638apb-v2) ucidef_add_switch "switch0" \ - "4:lan" "6t@eth0" + "4:lan" "6@eth0" ;; cudy,wr1000) ucidef_add_switch "switch0" \ @@ -463,14 +465,6 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "3:lan" "6t@eth0" ucidef_set_interface_wan "usb0" ;; - tplink,tl-wr902ac-v3) - ucidef_add_switch "switch0" \ - "4:lan" "6@eth0" - ;; - trendnet,tew-638apb-v2) - ucidef_add_switch "switch0" \ - "4:lan" "6@eth0" - ;; vocore,vocore2|\ vocore,vocore2-lite) ucidef_add_switch "switch0" \ |