diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-07 18:47:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-07 18:47:36 +0200 |
commit | fc22fc6efc4f6a46faf6547f33f42dffc1e35c15 (patch) | |
tree | 4aef3c97cf31b4687be801324df7d1f743e8d0be /service.c | |
parent | 061ea77d9e08444ebc8282204c8366f367ecc771 (diff) |
sysv: use lsb dependencies only for ordering, not for pulling in stuff, leave that to the symlink farms
Diffstat (limited to 'service.c')
-rw-r--r-- | service.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -484,15 +484,7 @@ static int service_load_sysv_path(Service *s, const char *path, UnitLoadState *n if (r == 0) continue; - if (!(r = unit_add_dependency_by_name(u, UNIT_AFTER, m)) < 0) { - free(m); - goto finish; - } - - r = unit_add_dependency_by_name( - u, - startswith(t, "Required-Start:") ? UNIT_REQUIRES : UNIT_WANTS, - m); + r = unit_add_dependency_by_name(u, UNIT_AFTER, m); free(m); if (r < 0) |