openwrtv4/package/base-files/files/lib/functions
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
..
leds.sh base-files: Use 200ms LED timing as before for the new phase preinit_regular. 2015-01-20 06:54:53 +00:00
network.sh base-files: add network_get_ipaddrs_all() 2014-10-09 07:16:29 +00:00
preinit.sh base-files: fix ramoverlay function with kernels 3.18+ 2015-09-21 17:41:07 +00:00
service.sh base-files: remove function service_kill 2014-06-02 12:43:10 +00:00
system.sh base-files: strip quotes from the MAC address in macaddr_canonicalize() 2014-07-14 10:25:49 +00:00
uci-defaults-new.sh base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch() 2015-12-03 17:30:08 +00:00
uci-defaults.sh base-files: allow setting ide-disk led trigger 2015-09-04 14:45:45 +00:00