3 # Copyright © 2017 OpenWrt.org
6 .
/lib
/functions
/system.sh
7 .
/lib
/functions
/uci-defaults.sh
11 case "$(board_name)" in
12 pc-engines-apu|pc-engines-apu2|pc-engines-apu3
)
13 ucidef_set_interfaces_lan_wan
"eth1 eth2" "eth0"
15 traverse-technologies-geos
)
16 ucidef_set_interface_lan
"eth0 eth1"
17 ucidef_add_atm_bridge
"0" "35" "llc" "bridged"
18 ucidef_set_interface_wan
"nas0" "dhcp"
19 macaddr
="$(cat /sys/class/net/eth0/address)" 2>/dev
/null
20 [ -n "$macaddr" ] && ucidef_set_interface_macaddr
"wan" "$macaddr"