4 .
/lib
/functions
/uci-defaults.sh
5 .
/lib
/functions
/system.sh
11 for lan
in /sys
/class
/net
/lan
*; do
12 lan_list
="$lan_list $(basename $lan)"
14 ucidef_set_interface_lan
"$lan_list"
26 lan_mac
=$
(mtd_get_mac_ascii u-boot-env ethaddr
)
30 [ -n "$lan_mac" ] && ucidef_set_interface_macaddr
"lan" $lan_mac
31 [ -n "$wan_mac" ] && ucidef_set_interface_macaddr
"wan" $wan_mac
32 [ -n "$label_mac" ] && ucidef_set_label_macaddr
$label_mac
38 rtl838x_setup_macs
$board