option to allow boot to run to completion before starting shell
authorFlorian Fainelli <florian@openwrt.org>
Tue, 13 Apr 2010 19:57:25 +0000 (19:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 13 Apr 2010 19:57:25 +0000 (19:57 +0000)
commiteafa2ec9622a34a100c44a46e9cb30b90c8aade8
tree8928d67876225e9cdc2fd32a7150ef5973ff1902
parent231012cba0aa1c7b4cedb1e512c31a5fe346a84a
option to allow boot to run to completion before starting shell

Setting the system variable "foreground" to yes causes the system to run
the init scripts in series and wait for completion.

This is useful if (a) you don't want the user getting into the console
until the system is initialized, or (b) you have things going on in your
scripts that require strict ordering (and no possible race conditions).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 20841
package/base-files/files/etc/init.d/rcS