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 | 605c909287c19a334fb7fe2dd363392dd8d59e13 (patch) | |
tree | b99fa76a65a2c8ad448f0bf46c6e24f3d2c95fa8 /package/libs/libreadline | |
parent | 24cafca9b8b111507f4491cd2fd991ec29aa69f8 (diff) | |
download | master-187ad058-605c909287c19a334fb7fe2dd363392dd8d59e13.tar.gz master-187ad058-605c909287c19a334fb7fe2dd363392dd8d59e13.tar.bz2 master-187ad058-605c909287c19a334fb7fe2dd363392dd8d59e13.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47720 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/libreadline')
0 files changed, 0 insertions, 0 deletions