summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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