Support running scripts in bootoption "services" in foreground if they contain the...
authorMichael Prokop <mika@grml.org>
Wed, 6 Jul 2011 23:01:14 +0000 (01:01 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 6 Jul 2011 23:03:45 +0000 (01:03 +0200)
commit5a37523cc5cc18f932c3683e911fcad3c345baa4
treee7d8cc4cebb53c1654214c6b0d4ffbf8373f66cb
parent48eb628cd8bc48ae4c234dd8905fe950f07b65c7
Support running scripts in bootoption "services" in foreground if they contain the string DO_NO_RUN_IN_BACKGROUND.

If a script configures the system and has to make sure
it's in a consistent state the (custom) init script
shouldn't run as background job but should be able
to block the boot process until it's in a reliable
state.

Actually we might also want to provide a more generic
solution as well, but until we come up with a decent
way this non-intrusive solution solves the problem
at least for custom init scripts.
autoconfig.functions