diff options
author | Roy Marples <roy@marples.name> | 2007-12-05 17:48:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-05 17:48:07 +0000 |
commit | 0490a9290a6af4a4923cc79fd380bc00a0a702e3 (patch) | |
tree | 5848bf69e4dc0357cc092ed30c974d20154c6469 /sh | |
parent | f40f7528be64269af7a5401af95dd37d398a5b31 (diff) | |
download | openrc-0490a9290a6af4a4923cc79fd380bc00a0a702e3.tar.gz openrc-0490a9290a6af4a4923cc79fd380bc00a0a702e3.tar.bz2 openrc-0490a9290a6af4a4923cc79fd380bc00a0a702e3.tar.xz |
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.
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/gendepends.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sh/gendepends.sh b/sh/gendepends.sh index eac247d..4fb2c8e 100755 --- a/sh/gendepends.sh +++ b/sh/gendepends.sh @@ -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 |