From ff1614a66157c12328e0f629b157566318d163ed Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 15 Dec 2014 10:37:00 +0000 Subject: add "preinit_regular" diag.sh set_state argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/base-files/etc/diag.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/brcm63xx/base-files') diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index bbf5c0b2e8..f6a65d1107 100755 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -12,6 +12,9 @@ set_state() { failsafe) status_led_set_timer 50 50 ;; + preinit_regular) + status_led_set_timer 500 500 + ;; done) if [ "${status_led/power}" != "$status_led" ]; then status_led_on -- cgit v1.2.3