2 . /lib/functions/uci-defaults.sh
6 case "$(board_name)" in
8 # These are all connected to eth0 thru RTL8366RB
9 ucidef_set_interface "eth" device "eth0" protocol "none"
10 ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" "wan"
13 # These are all connected to eth1 thru VSC7395
14 ucidef_set_interface "eth" device "eth1" protocol "none"
15 ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"
18 # These are all connected to eth1 thru VSC7385
19 ucidef_set_interface "eth" device "eth1" protocol "none"
20 ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"