summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-14 22:43:47 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-14 22:43:47 +0100
commit1d2d223c26a6bda2b3ffbce8140029c01e8296b7 (patch)
tree0ee48c8a24de4a2936545c07a266b71566af4eaa
parent81a2b7ceda7100fbc0dd8ce423b9599e03656851 (diff)
service: allow enabling of native services via /etc/rcXX.d, so that we can override legacy services easily
-rw-r--r--service.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/service.c b/service.c
index ca6e04500c..a693c33392 100644
--- 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;