summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-13 13:12:50 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-13 13:12:50 +0100
commit639762ea4f1158c9a247ca45e39a9ade40474160 (patch)
tree8af81257d54e62c4ce6eefc7e31e43f171cb1777
parent87fde73e185fabc346ee4d9c9befe972e3502dc3 (diff)
parent5fd534d919c0dc94db05cf6661d3f4819f2d7b22 (diff)
Merge pull request #1875 from marineam/fsck-after-resume
generator: order initrd fsck-root after local-fs-pre
-rw-r--r--src/shared/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/generator.c b/src/shared/generator.c
index cb4ebc606e..b3c22ff51d 100644
--- a/src/shared/generator.c
+++ b/src/shared/generator.c
@@ -64,7 +64,7 @@ static int write_fsck_sysroot_service(const char *dir, const char *what) {
"Description=File System Check on %2$s\n"
"DefaultDependencies=no\n"
"BindsTo=%3$s\n"
- "After=%3$s\n"
+ "After=%3$s local-fs-pre.target\n"
"Before=shutdown.target\n"
"\n"
"[Service]\n"