From 019ea725aad8481c34aaa8b7561c3f9ba6d79e1d 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 SVN-Revision: 43715 --- target/linux/ar7/base-files/etc/diag.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/ar7/base-files/etc') diff --git a/target/linux/ar7/base-files/etc/diag.sh b/target/linux/ar7/base-files/etc/diag.sh index 37eed6a..f6548e8 100644 --- a/target/linux/ar7/base-files/etc/diag.sh +++ b/target/linux/ar7/base-files/etc/diag.sh @@ -29,6 +29,9 @@ set_state() { failsafe) status_led_set_timer 50 50 ;; + preinit_regular) + status_led_blink_preinit_regular + ;; done) [ "$status_led" = "status" ] && { status_led_set_heartbeat -- cgit v1.1