Commit a9589a24 authored by Michael Stapelberg's avatar Michael Stapelberg

systemctl: call update-rc.d enable|disable, not defaults|remove

parent 1c0669c3
......@@ -4088,7 +4088,7 @@ static int enable_sysv_units(char **args) {
log_info("Synchronizing state for %s with sysvinit using update-rc.d...", name);
argv[c++] = path_get_file_name(p);
argv[c++] = streq(verb, "enable") ? "defaults" : "remove";
argv[c++] = verb;
argv[c] = NULL;
l = strv_join((char**)argv, " ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment