diff options
author | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-02 19:33:08 +0000 |
---|---|---|
committer | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-02 19:33:08 +0000 |
commit | 53a9db66e3da4f3d163beb5dc85cd2773c7a2918 (patch) | |
tree | 31429e7c6ff582676604b3c2634e7608b7987776 | |
parent | b1544d625645e52f3cc378d5295df6bf7c99d95f (diff) |
[brcm63xx]: base-files: diag.sh: For power button as preinit status led, end with led left on, not off
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22466 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | target/linux/brcm63xx/base-files/etc/diag.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index f77200aeed..fd9de29ad4 100755 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -61,7 +61,11 @@ set_state() { status_led_set_timer 50 50 ;; done) - status_led_off + if [ "$status_led" = "power" ]; then + status_led_on + else + status_led_off + fi ;; esac } |