Skip to content
Snippets Groups Projects
user avatar
Jo-Philipp Wich authored
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: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47720
d17a64c7
History
Name Last commit Last update
..