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:
f89f1e8
)
swap: there's no reason not order swap after sysinit, so drop it
author
Lennart Poettering
<lennart@poettering.net>
Wed, 27 Oct 2010 23:30:13 +0000
(
01:30
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 27 Oct 2010 23:30:13 +0000
(
01:30
+0200)
src/swap.c
patch
|
blob
|
history
diff --git
a/src/swap.c
b/src/swap.c
index 4404dc0e7111f8dfc0e100af916779c29536f561..078ad9fbbffc470469e42282ae7aabd532467ac6 100644
(file)
--- a/
src/swap.c
+++ b/
src/swap.c
@@
-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;
}