wifipineapple-openwrt/package/base-files/files/lib/preinit
John Crispin ff1614a661 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
2014-12-15 10:37:00 +00:00
..
02_default_set_state [package] 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 [package] 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 [package] base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
40_run_failsafe_hook [package] 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 [package] 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 [package] base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
99_10_run_init [package] base-files: fix whitespaces 2013-12-09 11:30:14 +00:00