diff options
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/init.d/led | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/led b/package/base-files/files/etc/init.d/led index ba4dd6791d..1a57e8afd7 100755 --- a/package/base-files/files/etc/init.d/led +++ b/package/base-files/files/etc/init.d/led @@ -35,7 +35,7 @@ load_led() { [ -e /sys/class/leds/${sysfs}/brightness ] && { echo "setting up led ${name}" - [ "$default" = 0 ] || + [ "$default" = 0 ] && echo 0 >/sys/class/leds/${sysfs}/brightness echo $trigger > /sys/class/leds/${sysfs}/trigger 2> /dev/null |