lantiq: diag - switch off the power led on failsafe
authorMathias Kresin <dev@kresin.me>
Sun, 19 Jun 2016 14:33:44 +0000 (16:33 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 20 Jun 2016 09:45:44 +0000 (11:45 +0200)
commit551c9c830027b7749895e3ba6b37004570b89e74
tree188852cfe6d07ac38fa7846d9aa7612a1006c8f9
parent32012decc327486bdf6564e6cf55a4acfc744efe
lantiq: diag - switch off the power led on failsafe

This patch is a follow up to commit 4cf3fd4 "add support for indicating
the boot state using three leds".

At the time of writing the patch, I wasn't aware that it's possible to
switch info failsafe after boot (factory reset).

Enabling the failsafe led without disabling the running led causes an
unexpected led colour on devices using a single multicolour led to
indicate the boot state.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/base-files/etc/diag.sh