base-files: add support for speed mask to switch config init scripts
authorFelix Fietkau <nbd@openwrt.org>
Thu, 25 Feb 2016 13:31:29 +0000 (13:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 25 Feb 2016 13:31:29 +0000 (13:31 +0000)
commit285d9e364e6df1b1209077b4730a2e268d813f00
tree15e88b6da3245dbf9cbde7845e46af02fdb3fd8d
parentd527b828624c6b86813f68d1ffa3bb8c84249f65
base-files: add support for speed mask to switch config init scripts

This patch adds extra parameter to switch LED trigger initialization
functions.  New functionality maintains backward compatibility, so
calling functions without setting new speed_mask parameter works
as expected.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 48776
package/base-files/files/bin/config_generate
package/base-files/files/etc/init.d/led
package/base-files/files/lib/functions/uci-defaults.sh