openwrt/package/base-files/files/lib
Christian Lamparter 641dc50164 base-files: make it possible to specify switch led mode
The swconfig switch led driver has the ability to switch
between a "link, rx and/or tx" mode. However, this feature
was not implemented in uci, the led init script and
config_generate.

This patch adds a seventh parameter to the
ucidef_set_led_switch() function. The accepted values for
this parameter are: link, rx and tx.
Any permutations of these three values are supported, as
long as they are properly encased with quotes.
If the parameter is not specified it will default to "all"
(link rx tx).

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2018-09-29 17:23:11 +02:00
..
functions base-files: make it possible to specify switch led mode 2018-09-29 17:23:11 +02:00
preinit merge: base: update base-files and basic config 2017-12-08 19:41:18 +01:00
upgrade treewide: consolidate upgrade state set 2018-08-16 21:20:57 +02:00
functions.sh base-files: fix postinstall uci-defaults removal 2018-09-24 18:58:00 +02:00