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_add_switch
"switch0" \
17 "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
20 ucidef_set_interface_lan
'eth0'
38 lantiq_setup_dsl_helper
"$annex"
50 [ -n "$lan_mac" ] && ucidef_set_interface_macaddr
"lan" "$lan_mac"
51 [ -n "$wan_mac" ] && ucidef_set_interface_macaddr
"wan" "$wan_mac"
56 lantiq_setup_interfaces
$board
57 lantiq_setup_dsl
$board
58 lantiq_setup_macs
$board