3 # Copyright (C) 2012-2015 OpenWrt.org
6 .
/lib
/functions
/uci-defaults.sh
11 board
=$
(kirkwood_board_name
)
23 ucidef_set_interface_lan
"eth0" "dhcp"
25 "guruplug-server-plus")
26 ucidef_set_interface_lan
"eth0 eth1" "dhcp"
30 ucidef_add_switch
"switch0" \
31 "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1"
34 ucidef_set_interface_lan
"eth0" "dhcp"
35 ucidef_set_interface_macaddr
"lan" $
( mtd_get_mac_ascii uboot_env ethaddr
)
38 ucidef_set_interface_lan
"eth0"