openwrtv4/package/base-files/files/etc/init.d
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
..
boot base-files, mac80211, broadcom-wl: wifi detection and configuration 2016-11-03 11:08:01 +01:00
done fstools: update to the latest version, makes interrupted first boot more reliable 2015-03-22 15:11:27 +00:00
gpio_switch base-files: gpio switch: check if direction can be set 2018-01-18 07:22:37 +01:00
led base-files: make it possible to specify switch led mode 2018-09-29 17:23:11 +02:00
sysctl base-files: fix wrong sysctl parameter order 2018-07-18 19:17:46 +02:00
sysfixtime base-files: sysfixtime: Keep RTC time in UTC timezone 2016-10-31 16:33:19 +01:00
system merge: base: update base-files and basic config 2017-12-08 19:41:18 +01:00
umount base-files: fix mount-utils incompatibility 2013-12-27 21:15:09 +00:00
urandom_seed base-files: use procd init for urandom_seed 2016-07-27 01:24:54 +02:00