diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-02-25 13:31:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-02-25 13:31:26 +0000 |
commit | d527b828624c6b86813f68d1ffa3bb8c84249f65 (patch) | |
tree | bb8e090c5ae0b20b732c60be10e0010e588fd8c7 /package/base-files/files/etc/init.d/led | |
parent | f61a80444cc031a1f544e55d2093318c21d96e05 (diff) | |
download | upstream-d527b828624c6b86813f68d1ffa3bb8c84249f65.tar.gz upstream-d527b828624c6b86813f68d1ffa3bb8c84249f65.tar.bz2 upstream-d527b828624c6b86813f68d1ffa3bb8c84249f65.zip |
switch: allow Ethernet port LEDs to show specific port speeds only
This patch adds speed_mask special file to LEDs connected to switch ports
via 'switch' trigger. It allows to choose which speeds to signal when link
is up. If router has more than one LED per port, they may light up
differently depending on how fast connection is. Default setting is 'all
speeds' so backward compatibility with system scripts (for example uci) is
maintained.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 48775
Diffstat (limited to 'package/base-files/files/etc/init.d/led')
0 files changed, 0 insertions, 0 deletions