From 50b8aba8d9cd5042f395ed7478400742dd3457f5 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 10 Oct 2008 09:08:59 +0000 Subject: Remove coldplug and just have hotplug which is a list of allowed/disallowed services. Makes things much easier. --- src/rc/rc-applets.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rc/rc-applets.c') diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c index eea4a01d..57d03446 100644 --- a/src/rc/rc-applets.c +++ b/src/rc/rc-applets.c @@ -276,8 +276,8 @@ static int do_service(int argc, char **argv) ok = (rc_service_state(service) & RC_SERVICE_STARTING); else if (strcmp(applet, "service_stopping") == 0) ok = (rc_service_state(service) & RC_SERVICE_STOPPING); - else if (strcmp(applet, "service_coldplugged") == 0) - ok = (rc_service_state(service) & RC_SERVICE_COLDPLUGGED); + else if (strcmp(applet, "service_hotplugged") == 0) + ok = (rc_service_state(service) & RC_SERVICE_HOTPLUGGED); else if (strcmp(applet, "service_wasinactive") == 0) ok = (rc_service_state(service) & RC_SERVICE_WASINACTIVE); else if (strcmp(applet, "service_started_daemon") == 0) { @@ -329,8 +329,8 @@ static int do_mark_service(int argc, char **argv) ok = rc_service_mark(service, RC_SERVICE_STARTING); else if (strcmp(applet, "mark_service_stopping") == 0) ok = rc_service_mark(service, RC_SERVICE_STOPPING); - else if (strcmp(applet, "mark_service_coldplugged") == 0) - ok = rc_service_mark(service, RC_SERVICE_COLDPLUGGED); + else if (strcmp(applet, "mark_service_hotplugged") == 0) + ok = rc_service_mark(service, RC_SERVICE_HOTPLUGGED); else if (strcmp(applet, "mark_service_failed") == 0) ok = rc_service_mark(service, RC_SERVICE_FAILED); else -- cgit v1.2.3