aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-12-01 08:46:50 +0000
committerRoy Marples <roy@marples.name>2008-12-01 08:46:50 +0000
commit57f90a42ba8c0222ca2f74bbf1f7d13e2ea71b15 (patch)
tree412c596fce5add4f965c9b83a36a9c2f5d5fa94e
parentbde35d03ed53c9d8999cd45f5cd70a4ace3e9ea4 (diff)
Include hotplugged services in our start list.
-rw-r--r--src/rc/rc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 3d41a0be..183d0a1d 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -953,7 +953,8 @@ main(int argc, char **argv)
stop_services = tmplist;
}
- /* Load our list of hotplugged services */
+ /* Load our list of start services */
+ hotplugged_services = rc_services_in_state(RC_SERVICE_HOTPLUGGED);
start_services = rc_services_in_runlevel(newlevel ?
newlevel : runlevel);
if (strcmp(newlevel ? newlevel : runlevel, RC_LEVEL_SHUTDOWN) != 0 &&