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