[systemd-commits] src/core

Kay Sievers kay at kemper.freedesktop.org
Sat Jan 12 14:33:22 PST 2013


 src/core/service.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 85a3fa0e1979a13683baa1f3dda6b6d0005f20ab
Author: Kay Sievers <kay at vrfy.org>
Date:   Sat Jan 12 23:31:46 2013 +0100

    service: remove distribution specific comments, the code run unconditional now

diff --git a/src/core/service.c b/src/core/service.c
index 2a4e691..70b251f 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -326,13 +326,13 @@ static char *sysv_translate_name(const char *name) {
                 return NULL;
 
         if (endswith(name, ".sh"))
-                /* Drop Debian-style .sh suffix */
+                /* Drop .sh suffix */
                 strcpy(stpcpy(r, name) - 3, ".service");
         if (startswith(name, "rc."))
-                /* Drop Frugalware-style rc. prefix */
+                /* Drop rc. prefix */
                 strcpy(stpcpy(r, name + 3), ".service");
         else
-                /* Normal init scripts */
+                /* Normal init script name */
                 strcpy(stpcpy(r, name), ".service");
 
         return r;



More information about the systemd-commits mailing list