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)
commit104e0ae33810108db19116897ed89c6547d9ff0c
treed59af4fea23e894fd9c85250402fbbfa9bdfca4e
parent40e94c91f55bc1b53d4eaf220b84684a7a24fc49
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