3 # Copyright (C) 2012-2015 OpenWrt.org
6 .
/lib
/functions
/uci-defaults.sh
7 .
/lib
/functions
/system.sh
12 board
=$
(kirkwood_board_name
)
24 ucidef_set_interface_lan
"eth0" "dhcp"
26 "guruplug-server-plus")
27 ucidef_set_interface_lan
"eth0 eth1" "dhcp"
31 ucidef_add_switch
"switch0" \
32 "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1"
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 eth1"
42 ucidef_set_interface_lan
"eth0"