diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-12-03 17:30:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-12-03 17:30:08 +0000 |
commit | d17a64c7c01e2f0bb79123250ec6ea5f4fb8ec6e (patch) | |
tree | e35582c364a6ddcd47074324a634d4a3c093131e /target/linux/bcm53xx | |
parent | 80f767d09390e69baeeca3f039e2b44bad4c6913 (diff) | |
download | upstream-d17a64c7c01e2f0bb79123250ec6ea5f4fb8ec6e.tar.gz upstream-d17a64c7c01e2f0bb79123250ec6ea5f4fb8ec6e.tar.bz2 upstream-d17a64c7c01e2f0bb79123250ec6ea5f4fb8ec6e.zip |
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
Diffstat (limited to 'target/linux/bcm53xx')
0 files changed, 0 insertions, 0 deletions