From b74949bcdc65982a5eaca64c836f4d2a3b8a8d0c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 Mar 2011 03:42:25 +0100 Subject: [PATCH 1/1] chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter --- src/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl.c b/src/systemctl.c index 87ecf0341..5e34d0394 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])); -- 2.30.2