diff options
Diffstat (limited to 'target/linux/bcm53xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/bcm53xx/base-files/etc/board.d/02_network | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network index 70ae89c006..5e6092a86e 100755 --- a/target/linux/bcm53xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network @@ -8,6 +8,16 @@ board_config_update board=$(cat /proc/device-tree/compatible | tr '\0' '\t' | cut -f 1) + +case "$board" in +tenda,ac9) + ucidef_add_switch "switch0" \ + "1:lan" "2:lan" "3:lan" "4:lan" "8@eth0" "0:wan" "5@eth1" + board_config_flush + exit 0 + ;; +esac + case "$board" in asus,rt-ac87u) ifname=eth1 |