base-files: use max_brightness to set LED
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 11 Dec 2015 15:06:11 +0000 (15:06 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 11 Dec 2015 15:06:11 +0000 (15:06 +0000)
commite7023168634321b766b4f8fcf2e8988616c176c0
tree21fdc98e909994fb40adca680f1633b8844cd115
parentbb590323b1118a40b255822d44ecede6254740db
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47854 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/etc/init.d/led