From 1e9be161b9cdca4734d891f1ea3cc58af03c9d21 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 31 Jan 2008 18:01:20 +0000 Subject: Fix up deps for new scripts. --- init.d.FreeBSD/clock | 2 +- init.d.Linux/clock | 2 +- init.d.Linux/modules | 1 - src/rc/runscript.c | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/init.d.FreeBSD/clock b/init.d.FreeBSD/clock index 57829f2..f26bef2 100644 --- a/init.d.FreeBSD/clock +++ b/init.d.FreeBSD/clock @@ -19,7 +19,7 @@ depend() # BSD adjkerntz needs to be able to write to /etc if [ "${clock}" = "UTC" -a -e /etc/wall_cmos_clock ] || [ "${clock}" != "UTC" -a ! -e /etc/wall_cmos_clock ]; then - need checkroot + need root fi } diff --git a/init.d.Linux/clock b/init.d.Linux/clock index 898fc90..a6305e9 100755 --- a/init.d.Linux/clock +++ b/init.d.Linux/clock @@ -24,7 +24,7 @@ fi depend() { if yesno ${clock_adjfile}; then - use checkroot + use root else before * fi diff --git a/init.d.Linux/modules b/init.d.Linux/modules index a695265..f4f9a89 100755 --- a/init.d.Linux/modules +++ b/init.d.Linux/modules @@ -6,7 +6,6 @@ description="Loads a user defined list of kernel modules." depend() { - need checkroot use isapnp } diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 9324203..c52ae15 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -515,7 +515,7 @@ static bool svc_wait (rc_depinfo_t *depinfo, const char *svc) if (! service) 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"); STRLIST_FOREACH (keywords, s, i) { if (strcmp (s, "notimeout") == 0) { -- cgit v1.2.3