base-files: use max_brightness to set LED
authorJohn Crispin <john@openwrt.org>
Fri, 11 Dec 2015 15:06:11 +0000 (15:06 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 11 Dec 2015 15:06:11 +0000 (15:06 +0000)
commit0f350d84d819d0aaafa0c8d6f438072955898318
tree21fdc98e909994fb40adca680f1633b8844cd115
parent3fbbc669b4898acfdbb970bf03ea39cbaeb09694
base-files: use max_brightness to set LED

LEDs which are controlled by a PWM need to use the supplied
max_brightness instead. Otherwise they might appear to be
very dim / broken.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47854
package/base-files/files/etc/init.d/led