Remove rc_service_wait as runscript.c should do the waiting. rc_deptree_depend now returns the exact depends as listed. This is so we can support a new 'keywords' directive. We can add whatever here, like 'notimeout' which means that an init script doesn't timeout. This removes the hardcoded check on checkfs and checkroot.

This commit is contained in:
Roy Marples
2007-12-05 17:48:07 +00:00
parent f40f7528be
commit 0490a9290a
11 changed files with 115 additions and 73 deletions

View File

@@ -29,6 +29,7 @@ depend() {
need localmount
before logger
after clock sysctl
keywords notimeout
}
cleanup_tmp_dir() {

View File

@@ -30,6 +30,7 @@ optionally repair them."
depend() {
need checkroot
after modules
keywords notimeout
}
do_checkfs() {

View File

@@ -27,6 +27,10 @@
description="Check the root filesystem according to /etc/fstab for errors \
and optionally repair them."
depend() {
keywords notimeout
}
do_mtab() {
# Don't create mtab if /etc is readonly
if ! printf "" 2>/dev/null >/etc/mtab; then

View File

@@ -29,6 +29,7 @@ and /etc/conf.d/local.stop when stopping."
depend() {
after *
keywords notimeout
}
start() {