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"
17 # NAS machines with a single ethernet port
18 ucidef_set_interface_lan "eth0" "dhcp"
21 # These are all connected to eth1 thru VSC7395
22 ucidef_set_interface "eth" device "eth1" protocol "none"
23 ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"
26 ucidef_set_interfaces_lan_wan "eth0" "eth1"
29 # These are all connected to eth1 thru VSC7385
30 ucidef_set_interface "eth" device "eth1" protocol "none"
31 ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"
34 # One ethernet LAN which is offering DHCP
35 ucidef_set_interface_lan "eth0"