base-files: reorder led trigger/brightness writes
authorFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:30 +0000 (20:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:30 +0000 (20:09 +0000)
commit2b58e961348cb192e51caef10bfb185ac206cada
treed68c478d88f24fb9741cb478cf81944d72f5cea9
parent91bb0cca95d6a6393230619da8b4291d3d592d92
base-files: reorder led trigger/brightness writes

Depending on configuration, disable the LED before writing the trigger
and enable it after writing it. Fixes LEDs where the value defaults to 1

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45463
package/base-files/files/etc/init.d/led