base-files: uci-defaults-new, config_generate: refactor code and drop old vlans
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Dec 2015 16:25:19 +0000 (16:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Dec 2015 16:25:19 +0000 (16:25 +0000)
commit80f767d09390e69baeeca3f039e2b44bad4c6913
tree8e41a0cf3a11e93eccac5368db1a9be44cf851ee
parent1871619e72acfec3566f6d33003072a6273308b5
base-files: uci-defaults-new, config_generate: refactor code and drop old vlans

Remove support for now unused ucidef_add_switch_vlan(), move port->vlan and
vlan->interfaces conversion to uci-defaults-new.sh and massively simplify
config_generate.

This change prepares the following upcoming steps:

 * Eliminate use of ucidef_set_interface_lan_wan() for switch only devices
 * Merge ucidef_add_switch() with ucidef_add_switch_ports()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47719
package/base-files/files/bin/config_generate
package/base-files/files/lib/functions/uci-defaults-new.sh