Fix up deps for new scripts.

This commit is contained in:
Roy Marples 2008-01-31 18:01:20 +00:00
parent cf567c844f
commit 1e9be161b9
4 changed files with 3 additions and 4 deletions

View File

@ -19,7 +19,7 @@ depend()
# BSD adjkerntz needs to be able to write to /etc # BSD adjkerntz needs to be able to write to /etc
if [ "${clock}" = "UTC" -a -e /etc/wall_cmos_clock ] || if [ "${clock}" = "UTC" -a -e /etc/wall_cmos_clock ] ||
[ "${clock}" != "UTC" -a ! -e /etc/wall_cmos_clock ]; then [ "${clock}" != "UTC" -a ! -e /etc/wall_cmos_clock ]; then
need checkroot need root
fi fi
} }

View File

@ -24,7 +24,7 @@ fi
depend() depend()
{ {
if yesno ${clock_adjfile}; then if yesno ${clock_adjfile}; then
use checkroot use root
else else
before * before *
fi fi

View File

@ -6,7 +6,6 @@ description="Loads a user defined list of kernel modules."
depend() depend()
{ {
need checkroot
use isapnp use isapnp
} }

View File

@ -515,7 +515,7 @@ static bool svc_wait (rc_depinfo_t *depinfo, const char *svc)
if (! service) if (! service)
return (false); return (false);
/* Some services don't have a timeout, like checkroot and checkfs */ /* Some services don't have a timeout, like fsck */
keywords = rc_deptree_depend (depinfo, svc, "keywords"); keywords = rc_deptree_depend (depinfo, svc, "keywords");
STRLIST_FOREACH (keywords, s, i) { STRLIST_FOREACH (keywords, s, i) {
if (strcmp (s, "notimeout") == 0) { if (strcmp (s, "notimeout") == 0) {