3 . /lib/functions/uci-defaults.sh
4 . /lib/functions/system.sh
6 mediatek_setup_interfaces()
15 ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" wan
18 ucidef_add_switch "switch0" \
19 "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
22 ubnt,unifi-6-lr-ubootmod)
23 ucidef_set_interface_lan "eth0"
26 ucidef_add_switch "switch0" \
27 "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1"
34 mediatek_setup_interfaces $board