summaryrefslogtreecommitdiff
path: root/src/core/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/service.c')
-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 2a4e691e78..70b251f0bb 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;