Stop un-needed services when changing runlevels, #189050.
This commit is contained in:
parent
adbe039385
commit
b10bd4b9d7
@ -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
|
||||||
|
1
src/rc.c
1
src/rc.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user