3 # Copyright (c) 2015 The Linux Foundation. All rights reserved.
4 # Copyright (c) 2011-2015 OpenWrt.org
7 .
/lib
/functions
/uci-defaults.sh
8 .
/lib
/functions
/system.sh
16 ucidef_set_interfaces_lan_wan
"eth0" "eth1"
17 ucidef_add_switch
"switch0" \
18 "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
22 ucidef_set_interfaces_lan_wan
"eth1" "eth0"
25 echo "Unsupported hardware. Network interfaces not intialized"