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

@@ -45,7 +45,10 @@ after() {
}
provide() {
[ -n "$*" ] && echo "${SVCNAME} iprovide $*" >&3
}
}
keywords() {
[ -n "$*" ] && echo "${SVCNAME} keywords $*" >&3
}
depend() {
:
}
@@ -83,6 +86,7 @@ for SVCNAME in *; do
before ${rc_before} ${RC_BEFORE}
after ${rc_after} ${RC_AFTER}
provide ${rc_provide} ${RC_PROVIDE}
keywords ${rc_keywords} ${RC_KEYWORDS}
fi
)
done