summaryrefslogtreecommitdiff
path: root/units/fsck-root.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-22 13:38:46 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-22 14:11:32 +0200
commit2c8049f3d31e4022845c1997a474925872ecea8f (patch)
tree27deeeed9fde4ef955d1ee299cb2058ab51858f0 /units/fsck-root.service.in
parent0f0dbc46ccf5aaaf3131446d0a4d78bc97a37295 (diff)
units: skip root fsck if the root directory is writable
Diffstat (limited to 'units/fsck-root.service.in')
-rw-r--r--units/fsck-root.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/fsck-root.service.in b/units/fsck-root.service.in
index f2870bdee7..517dee70be 100644
--- a/units/fsck-root.service.in
+++ b/units/fsck-root.service.in
@@ -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