aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-31 18:01:20 +0000
committerRoy Marples <roy@marples.name>2008-01-31 18:01:20 +0000
commit1e9be161b9cdca4734d891f1ea3cc58af03c9d21 (patch)
treec673ab541b87c00ccd3b3e4a57c91910d4b3bb96
parentcf567c844fa0fcef5f190ce21a805db9b9ed7ffb (diff)
Fix up deps for new scripts.
-rw-r--r--init.d.FreeBSD/clock2
-rwxr-xr-xinit.d.Linux/clock2
-rwxr-xr-xinit.d.Linux/modules1
-rw-r--r--src/rc/runscript.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/init.d.FreeBSD/clock b/init.d.FreeBSD/clock
index 57829f2f..f26bef2a 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 898fc906..a6305e92 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 a6952651..f4f9a895 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 9324203a..c52ae157 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) {