summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-05 17:48:07 +0000
committerRoy Marples <roy@marples.name>2007-12-05 17:48:07 +0000
commit0490a9290a6af4a4923cc79fd380bc00a0a702e3 (patch)
tree5848bf69e4dc0357cc092ed30c974d20154c6469 /sh
parentf40f7528be64269af7a5401af95dd37d398a5b31 (diff)
downloadopenrc-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-xsh/gendepends.sh6
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