base-files: add ucidef_set_interface_wan() and ucidef_add_switch_ports()
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Nov 2015 21:16:35 +0000 (21:16 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Nov 2015 21:16:35 +0000 (21:16 +0000)
commitf87fcf09347564f298610c2292cb91143edb56cd
treedf7ed84f237ae89fc5a1223c2b164724c5ddcef6
parentc167e15de8e6840e536054b3c244032038c19e38
base-files: add ucidef_set_interface_wan() and ucidef_add_switch_ports()

Add further helper functions to uci-defaults-new.sh for easier declarations
of complex switch layouts.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47638 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/functions/uci-defaults-new.sh