aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-17 12:14:04 +0000
committerRoy Marples <roy@marples.name>2007-08-17 12:14:04 +0000
commitb10bd4b9d7d4fea7957201561a34fa3f6303f279 (patch)
tree5527675fc314a6fa598cdc3b05d00e7da0e40823
parentadbe0393851b13ecb8f979cd5b8b53c92be761b0 (diff)
Stop un-needed services when changing runlevels, #189050.
-rw-r--r--ChangeLog4
-rw-r--r--src/rc.c1
2 files changed, 4 insertions, 1 deletions
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 <uberlord@gentoo.org>:
+
+ Stop un-needed services when changing runlevels, #189050.
+
15 Aug 2007; Roy Marples <uberlord@gentoo.org>:
`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;