mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 18:53:33 +08:00
swap: there's no reason not order swap after sysinit, so drop it
This commit is contained in:
parent
f89f1e8f83
commit
008d348edd
@ -211,9 +211,6 @@ static int swap_add_default_dependencies(Swap *s) {
|
||||
|
||||
if (s->meta.manager->running_as == MANAGER_SYSTEM) {
|
||||
|
||||
if ((r = unit_add_dependency_by_name(UNIT(s), UNIT_AFTER, SPECIAL_SYSINIT_TARGET, NULL, true)) < 0)
|
||||
return r;
|
||||
|
||||
if ((r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTED_BY, SPECIAL_UMOUNT_TARGET, NULL, true)) < 0)
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user