3 # Copyright (C) 2012-2013 OpenWrt.org
6 [ -e /etc
/config
/network
] && exit 0
8 touch /etc
/config
/network
13 set network.lan='interface'
14 set network.lan.ifname='$ifname'
15 set network.lan.proto='dhcp'
16 set network.lan6='interface'
17 set network.lan6.ifname='@lan'
18 set network.lan6.proto='dhcpv6'
19 set network.lan6.reqprefix='no'
23 .
/lib
/functions
/uci-defaults.sh
25 ucidef_set_interface_loopback
27 case "`cat /proc/device-tree/model`" in
28 "Seagate FreeAgent Dockstar")
32 "RaidSonic ICY BOX IB-NAS62x0 (Rev B)")
35 "Cloud Engines Pogoplug E02")
39 ucidef_set_interface_lan
"eth0"