3 # Copyright (C) 2013 OpenWrt.org
6 [ -e /etc/config/network ] && exit 0
8 . /lib/functions/uci-defaults.sh
10 touch /etc/config/network
12 ucidef_set_interface_loopback
14 board=$(cat /proc/device-tree/model)
17 "Gateworks Ventana GW51XX" |\
18 "Gateworks Ventana GW52XX")
19 ucidef_set_interface_lan 'eth0'
21 "Gateworks Ventana GW53XX" |\
22 "Gateworks Ventana GW54XX" |\
23 "Gateworks Ventana GW5400-A")
24 ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
26 "Wandboard i.MX6 Dual Lite Board")
27 ucidef_set_interface_wan 'eth0'