3 # Copyright © 2017 OpenWrt.org
6 . /lib/functions/system.sh
7 . /lib/functions/uci-defaults.sh
11 board="$(cat /tmp/sysinfo/board_name)" 2>/dev/null
14 traverse-technologies-geos)
15 ucidef_set_interface_lan "eth0 eth1"
16 ucidef_add_atm_bridge "0" "35" "llc" "bridged"
17 ucidef_set_interface_wan "nas0" "dhcp"
18 macaddr="$(cat /sys/class/net/eth0/address)" 2>/dev/null
19 [ -n "$macaddr" ] && ucidef_set_interface_macaddr "wan" "$macaddr"