You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
9 years ago
..
leds.sh base-files: Use 200ms LED timing as before for the new phase preinit_regular. 10 years ago
network.sh base-files: add network_get_ipaddrs_all() 10 years ago
preinit.sh base-files: fix ramoverlay function with kernels 3.18+ 9 years ago
service.sh base-files: remove function service_kill 10 years ago
system.sh base-files: strip quotes from the MAC address in macaddr_canonicalize() 10 years ago
uci-defaults-new.sh base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch() 9 years ago
uci-defaults.sh base-files: allow setting ide-disk led trigger 9 years ago