From 83310f162d2a78913b2748aaa5ffb1ae8226484f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 8 Mar 2011 01:47:30 +0100 Subject: systemctl: when forwarding is-enabled to chkconfig hardcode runlevel 3 --- src/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/systemctl.c') diff --git a/src/systemctl.c b/src/systemctl.c index f5a87fc701..23e659756f 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -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])); -- cgit v1.2.3-54-g00ecf