chiark / gitweb /
units: skip root fsck if the root directory is writable
authorLennart Poettering <lennart@poettering.net>
Sun, 22 Apr 2012 11:38:46 +0000 (13:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 22 Apr 2012 12:11:32 +0000 (14:11 +0200)
units/fsck-root.service.in

index f2870bd..517dee7 100644 (file)
@@ -13,6 +13,7 @@ Before=local-fs.target shutdown.target
 
 # Dracut informs us with this flag file if the root fsck was already run
 ConditionPathExists=!/run/initramfs/root-fsck
+ConditionPathIsReadWrite=!/
 
 [Service]
 Type=oneshot