openwrt/package/base-files/files/bin
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
..
board_detect base-files: also generate configs when current is empty (FS#193) 2016-10-05 19:59:11 +02:00
config_generate base-files: make it possible to specify switch led mode 2018-09-29 17:23:11 +02:00
ipcalc.sh base-files: ipcalc.sh: support bit length as netmask parameter 2013-12-16 16:29:23 +00:00