service: allow enabling of native services via /etc/rcXX.d, so that we can override legacy services easily

This commit is contained in:
Lennart Poettering 2010-02-14 22:43:47 +01:00
parent 81a2b7ceda
commit 1d2d223c26
1 changed files with 0 additions and 5 deletions

View File

@ -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;