aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-03-09 15:07:52 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2017-03-15 23:15:19 +0100
commitf9a1f322d26dfb3d3db59ffeab7c3fcc3772e8cc (patch)
treef12eabfaa955625f166bd46c3dbc3fa53040f4df /target/linux/brcm63xx/base-files
parent5cc96c0953e2d829aebc84256dd29a9579193083 (diff)
downloadupstream-f9a1f322d26dfb3d3db59ffeab7c3fcc3772e8cc.tar.gz
upstream-f9a1f322d26dfb3d3db59ffeab7c3fcc3772e8cc.tar.bz2
upstream-f9a1f322d26dfb3d3db59ffeab7c3fcc3772e8cc.zip
brcm63xx: diag.sh: use common status_led_blink_* functions
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index df1d616f65..e8e8624cdc 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -133,13 +133,13 @@ set_state() {
case "$1" in
preinit)
- status_led_set_timer 200 200
+ status_led_blink_preinit
;;
failsafe)
- status_led_set_timer 50 50
+ status_led_blink_failsafe
;;
preinit_regular)
- status_led_set_timer 500 500
+ status_led_blink_preinit_regular
;;
done)
if [ "${status_led/power}" != "$status_led" ]; then