chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fbe9f3a
)
sysv: drop warning about missing chkconfig header
author
Lennart Poettering
<lennart@poettering.net>
Thu, 13 May 2010 20:24:45 +0000
(22:24 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 13 May 2010 20:24:45 +0000
(22:24 +0200)
service.c
patch
|
blob
|
history
diff --git
a/service.c
b/service.c
index c13cf2f5e162fb42da23b0863e4fb81049989d24..ca25248dfa30bd20a8469d4df97034896f9c5609 100644
(file)
--- a/
service.c
+++ b/
service.c
@@
-591,14
+591,6
@@
static int service_load_sysv_path(Service *s, const char *path) {
}
}
}
}
- /* If init scripts have no LSB header, then we enforce the
- * ordering via the chkconfig priorities. We try to determine
- * a priority for *all* init scripts here, since they are
- * needed as soon as at least one non-LSB script is used. */
-
- if (s->sysv_start_priority < 0)
- log_warning("%s has neither a chkconfig header nor a directory link, cannot order unit!", u->meta.id);
-
if ((r = sysv_exec_commands(s)) < 0)
goto finish;
if ((r = sysv_exec_commands(s)) < 0)
goto finish;