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:
@@ -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
|
||||
|
Reference in New Issue
Block a user