3 # Copyright (C) 2012-2015 OpenWrt.org
6 .
/lib
/functions
/uci-defaults.sh
7 .
/lib
/functions
/system.sh
15 ucidef_set_interface_lan
"eth0 eth1"
17 "cloudengines,pogoe02"|\
18 "cloudengines,pogoplugv4"|\
21 "raidsonic,ib-nas62x0"|\
23 "seagate,goflexhome"|\
26 ucidef_set_interface_lan
"eth0" "dhcp"
30 ucidef_set_interfaces_lan_wan
"ethernet1 ethernet2 ethernet3 ethernet4" "internet"
31 ucidef_set_interface_macaddr
"wan" $
( mtd_get_mac_ascii u_env eth1addr
)
35 ucidef_set_interface_lan
"eth0" "dhcp"
36 ucidef_set_interface_macaddr
"lan" $
( mtd_get_mac_ascii uboot_env ethaddr
)
39 ucidef_set_interface_lan
"eth0"