From b10bd4b9d7d4fea7957201561a34fa3f6303f279 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 17 Aug 2007 12:14:04 +0000 Subject: Stop un-needed services when changing runlevels, #189050. --- ChangeLog | 4 ++++ src/rc.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 354f36e1..0b525d89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for Gentoo System Intialization ("rc") scripts # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2 + 17 Aug 2007; Roy Marples : + + Stop un-needed services when changing runlevels, #189050. + 15 Aug 2007; Roy Marples : `config /etc/fstab' can now be used in depend() functions to show that diff --git a/src/rc.c b/src/rc.c index 1824e058..f4613a8a 100644 --- a/src/rc.c +++ b/src/rc.c @@ -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; -- cgit v1.2.3