[systemd-commits] src/core
Kay Sievers
kay at kemper.freedesktop.org
Sat Jan 12 14:51:36 PST 2013
src/core/service.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 20771ae336a7c72dc6d2cac2f0c9b0c0f3003379
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Jan 12 23:50:56 2013 +0100
service: remove distribution specific comments, the code runs unconditional now
diff --git a/src/core/service.c b/src/core/service.c
index 70b251f..8e9e112 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -1012,14 +1012,14 @@ static int service_load_sysv_name(Service *s, const char *name) {
r = service_load_sysv_path(s, path);
if (r >= 0 && UNIT(s)->load_state == UNIT_STUB) {
- /* Try Debian style *.sh source'able init scripts */
+ /* Try *.sh source'able init scripts */
strcat(path, ".sh");
r = service_load_sysv_path(s, path);
}
free(path);
if (r >= 0 && UNIT(s)->load_state == UNIT_STUB) {
- /* Try Frugalware style rc.* init scripts */
+ /* Try rc.* init scripts */
path = strjoin(*p, "/rc.", name, NULL);
if (!path)
More information about the systemd-commits
mailing list