chiark / gitweb /
service: sysv_chkconfig_order() actually has nothing to do with chkconfig anymore...
authorLennart Poettering <lennart@poettering.net>
Wed, 19 May 2010 01:44:37 +0000 (03:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 May 2010 01:44:37 +0000 (03:44 +0200)
src/service.c

index dbef725..2515cd3 100644 (file)
@@ -225,7 +225,7 @@ finish:
         return 1;
 }
 
-static int sysv_chkconfig_order(Service *s) {
+static int sysv_fix_order(Service *s) {
         Meta *other;
         int r;
 
@@ -789,7 +789,7 @@ static int service_load(Unit *u) {
                 if ((r = unit_add_default_cgroup(u)) < 0)
                         return r;
 
-                if ((r = sysv_chkconfig_order(s)) < 0)
+                if ((r = sysv_fix_order(s)) < 0)
                         return r;
 
                 if (s->bus_name) {