summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-17 03:42:25 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-17 03:42:25 +0100
commitb74949bcdc65982a5eaca64c836f4d2a3b8a8d0c (patch)
tree98d0cc03ac469560fac89c7c7b629ae14c168dcd
parenta76f7be2b02416ff430625766619f4443f2141cf (diff)
chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 87ecf03410..5e34d03945 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -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]));