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 f2870bdee7976f0a8c6e2ddf78bf1253a3ac18df..517dee70bec9aadb54403911111318bb25dd013a 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