3 # Copyright (c) 2015 The Linux Foundation. All rights reserved.
4 # Copyright (c) 2011-2015 OpenWrt.org
7 .
/lib
/functions
/uci-defaults.sh
12 board
=$
(ipq806x_board_name
)
18 ucidef_add_switch
"switch0" \
19 "1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0"
22 ucidef_set_interface_lan
"eth1 eth2 eth3"
23 ucidef_add_switch
"switch0" \
24 "1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0"
27 echo "Unsupported hardware. Network interfaces not intialized"