chiark / gitweb /
chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Mar 2011 02:42:25 +0000 (03:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Mar 2011 02:42:25 +0000 (03:42 +0100)
src/systemctl.c

index 87ecf03..5e34d03 100644 (file)
@@ -4098,7 +4098,7 @@ static int install_info_apply(const char *verb, LookupPaths *paths, InstallInfo
                                 argv[1] = file_name_from_path(sysv);
                                 argv[2] =
                                         streq(verb, "enable") ? "on" :
-                                        streq(verb, "disable") ? "off" : "--level=3";
+                                        streq(verb, "disable") ? "off" : "--level=5";
 
                                 log_info("Executing %s %s %s", argv[0], argv[1], strempty(argv[2]));