From 7a57b332d0a0b229c1c24278840aebd19efe9ffe Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 14 Feb 2011 11:42:47 +0100 Subject: fsck: skip root fsck if dracut already did it --- units/fsck-root.service.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'units') diff --git a/units/fsck-root.service.in b/units/fsck-root.service.in index 2f89d0e63b..cb654260c0 100644 --- a/units/fsck-root.service.in +++ b/units/fsck-root.service.in @@ -11,6 +11,9 @@ DefaultDependencies=no After=systemd-readahead-collect.service systemd-readahead-replay.service Before=local-fs.target shutdown.target remount-rootfs.service quotacheck.service +# Dracut informs us with this flag file if the root fsck was already run +ConditionPathExists=!/dev/.initramfs/fsck + [Service] Type=oneshot RemainAfterExit=no -- cgit v1.2.3-54-g00ecf