chiark / gitweb /
service: allow enabling of native services via /etc/rcXX.d, so that we can override...
authorLennart Poettering <lennart@poettering.net>
Sun, 14 Feb 2010 21:43:47 +0000 (22:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 14 Feb 2010 21:43:47 +0000 (22:43 +0100)
service.c

index ca6e045..a693c33 100644 (file)
--- a/service.c
+++ b/service.c
@@ -1658,11 +1658,6 @@ static int service_enumerate(Manager *m) {
                                 if ((r = manager_load_unit(m, name, &service)) < 0)
                                         goto finish;
 
-                                /* Don't allow that non-SysV services
-                                 * are started via rcN.d/ links. */
-                                if (!SERVICE(service)->sysv_path)
-                                        continue;
-
                                 if ((r = manager_load_unit(m, rcnd[i+1], &runlevel)) < 0)
                                         goto finish;