Stop un-needed services when changing runlevels, #189050.

This commit is contained in:
Roy Marples
2007-08-17 12:14:04 +00:00
parent adbe039385
commit b10bd4b9d7
2 changed files with 4 additions and 1 deletions

View File

@@ -1143,7 +1143,6 @@ int main (int argc, char **argv)
rc_set_runlevel (newlevel);
types = rc_strlist_add (NULL, "needsme");
types = rc_strlist_add (types, "usesme");
/* Now stop the services that shouldn't be running */
STRLIST_FOREACH (stop_services, service, i) {
bool found = false;