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
..
2015-10-04 11:34:39 +00:00
2015-12-02 21:52:41 +00:00
2015-12-02 22:24:46 +00:00
2015-12-02 21:52:41 +00:00
2015-07-22 12:51:11 +00:00
2015-12-02 21:52:41 +00:00
2015-11-15 21:33:33 +00:00
2015-11-24 18:29:14 +00:00
2015-04-12 20:48:13 +00:00
2015-10-26 09:00:35 +00:00
2015-12-02 21:52:41 +00:00