diff options
author | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2010-08-02 19:33:08 +0000 |
---|---|---|
committer | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2010-08-02 19:33:08 +0000 |
commit | dfda352bca4a41eeedf7c69872c7292b7541964d (patch) | |
tree | 31429e7c6ff582676604b3c2634e7608b7987776 /target | |
parent | 8b6a51edadce60d2c9005d4446b9007a7da9b6ea (diff) | |
download | master-187ad058-dfda352bca4a41eeedf7c69872c7292b7541964d.tar.gz master-187ad058-dfda352bca4a41eeedf7c69872c7292b7541964d.tar.bz2 master-187ad058-dfda352bca4a41eeedf7c69872c7292b7541964d.zip |
[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
Diffstat (limited to 'target')
-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 } |