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:
@@ -29,6 +29,7 @@ depend() {
|
||||
need localmount
|
||||
before logger
|
||||
after clock sysctl
|
||||
keywords notimeout
|
||||
}
|
||||
|
||||
cleanup_tmp_dir() {
|
||||
|
@@ -30,6 +30,7 @@ optionally repair them."
|
||||
depend() {
|
||||
need checkroot
|
||||
after modules
|
||||
keywords notimeout
|
||||
}
|
||||
|
||||
do_checkfs() {
|
||||
|
@@ -27,6 +27,10 @@
|
||||
description="Check the root filesystem according to /etc/fstab for errors \
|
||||
and optionally repair them."
|
||||
|
||||
depend() {
|
||||
keywords notimeout
|
||||
}
|
||||
|
||||
do_mtab() {
|
||||
# Don't create mtab if /etc is readonly
|
||||
if ! printf "" 2>/dev/null >/etc/mtab; then
|
||||
|
@@ -29,6 +29,7 @@ and /etc/conf.d/local.stop when stopping."
|
||||
|
||||
depend() {
|
||||
after *
|
||||
keywords notimeout
|
||||
}
|
||||
|
||||
start() {
|
||||
|
Reference in New Issue
Block a user