add "preinit_regular" diag.sh set_state argument
authorJohn Crispin <john@openwrt.org>
Mon, 15 Dec 2014 10:37:00 +0000 (10:37 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 15 Dec 2014 10:37:00 +0000 (10:37 +0000)
commit019ea725aad8481c34aaa8b7561c3f9ba6d79e1d
tree21b1f4bb215895cc20de6c7833b6e17dfd143cf5
parenta5b6b7e41943fec0eb28593ce92b0713990c8d23
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>
SVN-Revision: 43715
17 files changed:
package/base-files/files/lib/functions/leds.sh
package/base-files/files/lib/preinit/10_indicate_preinit
package/base-files/files/lib/preinit/50_indicate_regular_preinit
target/linux/adm5120/base-files/etc/diag.sh
target/linux/ar7/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/diag.sh
target/linux/avr32/base-files/etc/diag.sh
target/linux/bcm53xx/base-files/etc/diag.sh
target/linux/brcm47xx/base-files/etc/diag.sh
target/linux/brcm63xx/base-files/etc/diag.sh
target/linux/cns21xx/base-files/etc/diag.sh
target/linux/kirkwood/base-files/etc/diag.sh
target/linux/mpc85xx/base-files/etc/diag.sh
target/linux/mvebu/base-files/etc/diag.sh
target/linux/mxs/base-files/etc/diag.sh
target/linux/oxnas/base-files/etc/diag.sh
target/linux/ramips/base-files/etc/diag.sh