diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-07 20:00:31 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-12-14 10:13:52 +0100 |
commit | 0900593e86f2516e2a9cc9e3cfc34cc609bfc29e (patch) | |
tree | 2bb78ebae3a25e91072f6d299d1af725653b9b35 /src/shared | |
parent | ad2706db7cceba69203f3ac2b6ef65d7490c5f29 (diff) |
generator: order fsck service After= the device
Otherwise we might get started too early.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/generator.c b/src/shared/generator.c index 70afc6a285..9a069b2f97 100644 --- a/src/shared/generator.c +++ b/src/shared/generator.c @@ -65,7 +65,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=initrd-root-device.target local-fs-pre.target\n" + "After=initrd-root-device.target local-fs-pre.target %3$s\n" "Before=shutdown.target\n" "\n" "[Service]\n" |