From: Lennart Poettering Date: Sun, 22 Apr 2012 11:38:46 +0000 (+0200) Subject: units: skip root fsck if the root directory is writable X-Git-Tag: v183~218 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c8049f3d31e4022845c1997a474925872ecea8f;p=systemd units: skip root fsck if the root directory is writable --- diff --git a/units/fsck-root.service.in b/units/fsck-root.service.in index f2870bde..517dee70 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