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 "LinkSprite pcDuino" |\
18 "LinkSprite pcDuino V3" |\
19 "Olimex A10-OLinuXino-LIME" |\
20 "Olimex A20-Olinuxino Micro")
21 ucidef_set_interface_lan 'eth0'
23 "Olimex A13-Olinuxino")
24 ucidef_set_interface_lan 'wlan0'