From: Lennart Poettering Date: Thu, 17 Mar 2011 02:42:25 +0000 (+0100) Subject: chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter X-Git-Tag: v21~59 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b74949bcdc65982a5eaca64c836f4d2a3b8a8d0c;hp=a76f7be2b02416ff430625766619f4443f2141cf chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter --- 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]));