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