summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-20 15:22:04 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-20 15:22:04 +0200
commit7d1316aa29ea6757336e434a8b07266f7f2dc67a (patch)
tree1cbaa5deb2e69d7562f99253fa356da787c51d0c /units
parent417e842dc398448dca067b7481d88bf99da7cb60 (diff)
fsck: wait for device to show up
Diffstat (limited to 'units')
-rw-r--r--units/fsck@.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/fsck@.service.in b/units/fsck@.service.in
index 0f4f026620..f0ccc8f075 100644
--- a/units/fsck@.service.in
+++ b/units/fsck@.service.in
@@ -8,7 +8,8 @@
[Unit]
Description=File System Check on %I
DefaultDependencies=no
-After=systemd-readahead-collect.service systemd-readahead-replay.service
+Requires=%i.device
+After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
Before=local-fs.target shutdown.target
[Service]