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 "Cubietech Cubieboard" |\
16 "Cubietech Cubieboard2" |\
17 "Olimex A20-Olinuxino Micro")
18 ucidef_set_interface_lan 'eth0'