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

@ -1,6 +1,10 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts # ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
17 Aug 2007; Roy Marples <uberlord@gentoo.org>:
Stop un-needed services when changing runlevels, #189050.
15 Aug 2007; Roy Marples <uberlord@gentoo.org>: 15 Aug 2007; Roy Marples <uberlord@gentoo.org>:
`config /etc/fstab' can now be used in depend() functions to show that `config /etc/fstab' can now be used in depend() functions to show that

View File

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