openwrtv4/package/base-files/files
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
..
bin base-files: uci-defaults-new, config_generate: refactor code and drop old vlans 2015-12-03 16:25:19 +00:00
etc base-files: show hint when JFFS2-partition is full and overlayfs mounted read-only 2015-11-24 18:32:09 +00:00
lib base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch() 2015-12-03 17:30:08 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: sanitize and unify $PATH 2015-10-02 08:24:32 +00:00