aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-12-15 10:37:00 +0000
committerJohn Crispin <blogic@openwrt.org>2014-12-15 10:37:00 +0000
commitff1614a66157c12328e0f629b157566318d163ed (patch)
tree2dd6facfac45e6ba19352b4634d65de86fe953ad /target/linux/mpc85xx/base-files/etc
parent5db780f39911c6b70de5b0b747b65a156e5e106f (diff)
downloadupstream-ff1614a66157c12328e0f629b157566318d163ed.tar.gz
upstream-ff1614a66157c12328e0f629b157566318d163ed.tar.bz2
upstream-ff1614a66157c12328e0f629b157566318d163ed.zip
add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx/base-files/etc')
-rwxr-xr-xtarget/linux/mpc85xx/base-files/etc/diag.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/base-files/etc/diag.sh b/target/linux/mpc85xx/base-files/etc/diag.sh
index 123a90dbae..1107763a37 100755
--- a/target/linux/mpc85xx/base-files/etc/diag.sh
+++ b/target/linux/mpc85xx/base-files/etc/diag.sh
@@ -24,6 +24,10 @@ set_state() {
status_led_blink_failsafe
;;
+ preinit_regular)
+ status_led_blink_preinit_regular
+ ;;
+
done)
status_led_on
;;