openwrtv4/package/base-files/files/lib
Jo-Philipp Wich d17a64c7c0 base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()
Out of 69 switch definitions, only 3 pass something different than "1" as
values for reset and enable, with one of those three being invalid.

This change ...

 * removes the reset and enable arguments from ucidef_add_switch()
 * unconditionally writes reset:1 and enable:1 to JSON
 * converts the three users of nonstandard values to ucidef_add_switch_attr()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47720
2015-12-03 17:30:08 +00:00
..
functions base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch() 2015-12-03 17:30:08 +00:00
preinit base-files: add /etc/iproute2/rt_tables, replace ifconfig-usage 2015-09-08 17:44:13 +00:00
upgrade base-files: sysupgrade: quote source image name 2015-09-14 20:09:06 +00:00
functions.sh base-files: refactor default_postinst() 2015-09-16 08:43:58 +00:00