summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-08-02 19:33:08 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-08-02 19:33:08 +0000
commita5fdf57a1bbdd4aab94108135506400b5bff6325 (patch)
treef36dd58d7211adf8cf04c1062a1415be500b01bb /target/linux
parentd391ca2c8ced600e0845db951e30f0c7474d4aa9 (diff)
downloadmtk-20170518-a5fdf57a1bbdd4aab94108135506400b5bff6325.zip
mtk-20170518-a5fdf57a1bbdd4aab94108135506400b5bff6325.tar.gz
mtk-20170518-a5fdf57a1bbdd4aab94108135506400b5bff6325.tar.bz2
base-files: diag.sh: For power button as preinit status led, end with led left on, not off
SVN-Revision: 22466
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/diag.sh6
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 f77200a..fd9de29 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
}