mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
systemctl: when forwarding is-enabled to chkconfig hardcode runlevel 3
This commit is contained in:
parent
d68201e9aa
commit
83310f162d
@ -4072,7 +4072,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" : NULL;
|
||||
streq(verb, "disable") ? "off" : "--level=3";
|
||||
|
||||
log_info("Executing %s %s %s", argv[0], argv[1], strempty(argv[2]));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user