chiark / gitweb /
service: remove distribution specific comments, the code run unconditional now
authorKay Sievers <kay@vrfy.org>
Sat, 12 Jan 2013 22:31:46 +0000 (23:31 +0100)
committerKay Sievers <kay@vrfy.org>
Sat, 12 Jan 2013 22:31:46 +0000 (23:31 +0100)
src/core/service.c

index 2a4e691..70b251f 100644 (file)
@@ -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;