mirror of
https://github.com/systemd/systemd.git
synced 2026-07-24 16:25:52 +00:00
chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter
This commit is contained in:
@@ -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]));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user