]> err.no Git - systemd/commitdiff
fsck: wait for device to show up
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 13:22:04 +0000 (15:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 13:22:04 +0000 (15:22 +0200)
units/fsck@.service.in

index 0f4f026620fe51adae0778b0a45e4bf1f3c64306..f0ccc8f075ccdb0a3324c9ec0f8997c3f55a2ed9 100644 (file)
@@ -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]