aboutsummaryrefslogtreecommitdiff
path: root/src/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-03 14:18:52 +0000
committerRoy Marples <roy@marples.name>2007-10-03 14:18:52 +0000
commit563c6f46c0439eeb3fcc90105264ae1043b7298f (patch)
tree99dbf403e0036872bc17a03bfaa7556c355f7888 /src/runscript.c
parent4c3bf59c5bc6b1ff10b61263bf9347e3cf918f4a (diff)
rc_schedule_clear -> rc_service_schedule_clear, rc_schedule_start_service -> rc_service_schedule_start
Diffstat (limited to 'src/runscript.c')
-rw-r--r--src/runscript.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runscript.c b/src/runscript.c
index 6604fd84..60268970 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -237,7 +237,7 @@ static void start_services (char **list) {
if (state & RC_SERVICE_INACTIVE ||
state & RC_SERVICE_WASINACTIVE)
{
- rc_schedule_start_service (service, svc);
+ rc_service_schedule_start (service, svc);
ewarn ("WARNING: %s is scheduled to started when %s has started",
svc, applet);
} else
@@ -680,7 +680,7 @@ static void svc_start (bool deps)
types = NULL;
rc_strlist_add (&types, "iprovide");
STRLIST_FOREACH (tmplist, svc, i) {
- rc_schedule_start_service (svc, service);
+ rc_service_schedule_start (svc, service);
rc_strlist_free (svclist);
svclist = NULL;
@@ -689,7 +689,7 @@ static void svc_start (bool deps)
providelist = rc_deptree_depends (deptree, types, svclist,
softlevel, depoptions);
STRLIST_FOREACH (providelist, svc2, j)
- rc_schedule_start_service (svc2, service);
+ rc_service_schedule_start (svc2, service);
len += strlen (svc) + 2;
n++;
@@ -1244,7 +1244,7 @@ int runscript (int argc, char **argv)
int j;
STRLIST_FOREACH (restart_services, svc, j)
if (rc_service_state (svc) & RC_SERVICE_STOPPED)
- rc_schedule_start_service (service, svc);
+ rc_service_schedule_start (service, svc);
}
}
} else if (strcmp (optarg, "zap") == 0) {