From 0490a9290a6af4a4923cc79fd380bc00a0a702e3 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 5 Dec 2007 17:48:07 +0000 Subject: 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. --- sh/gendepends.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sh/gendepends.sh') diff --git a/sh/gendepends.sh b/sh/gendepends.sh index eac247dc..4fb2c8ed 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 -- cgit v1.2.3