aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8/base-files/etc
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-07-18 22:12:19 +0200
committerDavid Bauer <mail@david-bauer.net>2020-07-18 22:12:19 +0200
commit612d5282b5107635e015dbbc40924509bea209fc (patch)
tree1759066e52da1c64e54034e68d229c8c2495a374 /target/linux/ramips/mt76x8/base-files/etc
parentbae4204e344bc29b33a99b5cc850c15ed9507470 (diff)
downloadupstream-612d5282b5107635e015dbbc40924509bea209fc.tar.gz
upstream-612d5282b5107635e015dbbc40924509bea209fc.tar.bz2
upstream-612d5282b5107635e015dbbc40924509bea209fc.zip
ramips: don't create switch config for VIXMINI
Don't create UCI switch config for the GL.iNet microuter-N300 and VIXMINI. These devices only have a single LAN port. Creating the switch config makes usage of VLANs more complicated, as they would have to be configured on the MAC as well as the "switch". Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/02_network7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index e3d18b5fba..0809109c13 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -11,6 +11,8 @@ ramips_setup_interfaces()
case $board in
alfa-network,awusfree1|\
d-team,pbr-d1|\
+ glinet,microuter-n300|\
+ glinet,vixmini|\
mediatek,linkit-smart-7688|\
onion,omega2p|\
onion,omega2|\
@@ -57,11 +59,6 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "0:wan" "6@eth0"
;;
- glinet,microuter-n300|\
- glinet,vixmini)
- ucidef_add_switch "switch0" \
- "0:lan" "6@eth0"
- ;;
hilink,hlk-7628n|\
hiwifi,hc5861b|\
skylab,skw92a|\