3 # Copyright (C) 2012 OpenWrt.org
6 [ -e /etc/config/network ] && exit 0
11 set network.lan='interface'
12 set network.lan.ifname='$ifname'
13 set network.lan.proto='dhcp'
17 . /lib/functions/uci-defaults.sh
20 touch /etc/config/network
22 ucidef_set_interface_loopback
24 hardware=$(kirkwood_hardware_name)
27 "Seagate FreeAgent DockStar")
31 "RaidSonic ICY BOX IB-NAS6210")
36 ucidef_set_interface_lan "eth0"