openwrtv3/package/base-files/files/lib/preinit
John Crispin 019ea725aa 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
2014-12-15 10:37:00 +00:00
..
02_default_set_state base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit 2011-07-07 02:52:02 +00:00
10_indicate_failsafe base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
10_indicate_preinit add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
30_failsafe_wait base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
40_run_failsafe_hook base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
50_indicate_regular_preinit add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
70_initramfs_test base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
80_mount_root base-files: make use of new fstools 2014-04-07 15:10:15 +00:00
99_10_failsafe_login base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
99_10_run_init base-files: fix whitespaces 2013-12-09 11:30:14 +00:00