projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: diag.sh: use common status_led_blink_* functions
[openwrt/openwrt.git]
/
target
/
linux
/
brcm63xx
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/brcm63xx/base-files/etc/diag.sh
b/target/linux/brcm63xx/base-files/etc/diag.sh
index df1d616f653d8d1e6f42d4c8f5855cefe181b8d1..e8e8624cdcbbbb870a65c6c711df06e994867bad 100644
(file)
--- 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)
case "$1" in
preinit)
- status_led_
set_timer 200 200
+ status_led_
blink_preinit
;;
failsafe)
;;
failsafe)
- status_led_
set_timer 50 50
+ status_led_
blink_failsafe
;;
preinit_regular)
;;
preinit_regular)
- status_led_
set_timer 500 500
+ status_led_
blink_preinit_regular
;;
done)
if [ "${status_led/power}" != "$status_led" ]; then
;;
done)
if [ "${status_led/power}" != "$status_led" ]; then