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 i.MX6 DualLite GW51XX" |\
16 "Gateworks Ventana i.MX6 DualLite GW52XX" |\
17 "Gateworks Ventana i.MX6 Quad GW51XX" |\
18 "Gateworks Ventana i.MX6 Quad GW52XX")
19 ucidef_set_interface_lan
'eth0'
21 "Gateworks Ventana i.MX6 DualLite GW53XX" |\
22 "Gateworks Ventana i.MX6 DualLite GW54XX" |\
23 "Gateworks Ventana i.MX6 Quad GW53XX" |\
24 "Gateworks Ventana i.MX6 Quad GW54XX" |\
25 "Gateworks Ventana GW5400-A")
26 ucidef_set_interfaces_lan_wan
'eth0' 'eth1'
28 "Wandboard i.MX6 Dual Lite Board")
29 ucidef_set_interface_wan
'eth0'