base-files: add ucidef_set_interface_wan() and ucidef_add_switch_ports()
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 24 Nov 2015 21:16:35 +0000 (21:16 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 24 Nov 2015 21:16:35 +0000 (21:16 +0000)
commit5da281a33dd11535dd9c79180c85443f01a30f35
treedf7ed84f237ae89fc5a1223c2b164724c5ddcef6
parentb7f3fc38511736f9b6a5ac3f7e2bb18b73ef2662
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>
SVN-Revision: 47638
package/base-files/files/lib/functions/uci-defaults-new.sh