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 2a4e691e789fd0a9e3a44c9b1c0b755d72fdc111..70b251f0bb8402fcc541224bc1b34e6b3dd82d19 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;