641dc50164
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> |
||
---|---|---|
.. | ||
board.d | ||
hotplug.d/net | ||
init.d | ||
iproute2 | ||
rc.button | ||
sysctl.d | ||
uci-defaults | ||
banner | ||
banner.failsafe | ||
device_info | ||
diag.sh | ||
ethers | ||
fstab | ||
group | ||
hosts | ||
inittab | ||
openwrt_release | ||
openwrt_version | ||
os-release | ||
passwd | ||
preinit | ||
profile | ||
protocols | ||
rc.common | ||
rc.local | ||
services | ||
shadow | ||
shells | ||
sysctl.conf | ||
sysupgrade.conf |