3 # Copyright (C) 2011-2015 OpenWrt.org
6 .
/lib
/functions
/uci-defaults.sh
7 .
/lib
/functions
/system.sh
8 .
/lib
/functions
/lantiq.sh
10 lantiq_setup_interfaces
()
16 ucidef_set_interface_lan
'eth0'
29 lantiq_setup_dsl_helper
"$annex"
40 lan_mac
=$
(mtd_get_mac_ascii u-boot-env ethaddr
)
41 wan_mac
=$
(macaddr_add
"$lan_mac" 1)
45 [ -n "$lan_mac" ] && ucidef_set_interface_macaddr
"lan" "$lan_mac"
46 [ -n "$wan_mac" ] && ucidef_set_interface_macaddr
"wan" "$wan_mac"
51 lantiq_setup_interfaces
$board
52 lantiq_setup_dsl
$board
53 lantiq_setup_macs
$board