Fix up deps for new scripts.
This commit is contained in:
parent
cf567c844f
commit
1e9be161b9
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -6,7 +6,6 @@ description="Loads a user defined list of kernel modules."
|
|||||||
|
|
||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
need checkroot
|
|
||||||
use isapnp
|
use isapnp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user