chiark / gitweb /
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 0f4f026..f0ccc8f 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]