3 # Copyright (C) 2012-2015 OpenWrt.org
6 .
/lib
/functions
/uci-defaults.sh
7 .
/lib
/functions
/system.sh
20 ucidef_set_interface_lan
"eth0" "dhcp"
24 ucidef_add_switch
"switch0" \
25 "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1"
28 ucidef_set_interface_lan
"eth0" "dhcp"
29 ucidef_set_interface_macaddr
"lan" $
( mtd_get_mac_ascii uboot_env ethaddr
)
32 ucidef_set_interface_lan
"eth0 eth1"
35 ucidef_set_interface_lan
"eth0"