summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-01-12 23:31:46 +0100
committerKay Sievers <kay@vrfy.org>2013-01-12 23:31:46 +0100
commit85a3fa0e1979a13683baa1f3dda6b6d0005f20ab (patch)
tree5a77ed3cb032608fba8a3f25a9f49da914aec47e
parentacbeb42770e1e99955ebc4464a0439cf741b3aeb (diff)
service: remove distribution specific comments, the code run unconditional now
-rw-r--r--src/core/service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/service.c b/src/core/service.c
index 2a4e691e7..70b251f0b 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;