summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-08 01:47:30 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-08 01:53:47 +0100
commit83310f162d2a78913b2748aaa5ffb1ae8226484f (patch)
tree46e324e959b2bf55de553213b2d997b5e60fde0a /src/systemctl.c
parentd68201e9aa5e9ebd6085b1bb8892c42e9d20be75 (diff)
systemctl: when forwarding is-enabled to chkconfig hardcode runlevel 3
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
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]));