chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d68201e
)
systemctl: when forwarding is-enabled to chkconfig hardcode runlevel 3
author
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Mar 2011 00:47:30 +0000
(
01:47
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Mar 2011 00:53:47 +0000
(
01:53
+0100)
src/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl.c
b/src/systemctl.c
index f5a87fc701c254bf2f9e613a76f386a3195f3bcc..23e659756f8e84fd75236d83295c7a2365749eec 100644
(file)
--- 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]));