[PATCH] units: detect SUSE initrd and do not run fsck on /.

Frederic Crozat fcrozat at suse.com
Wed Aug 3 07:46:52 PDT 2011


---
 units/fsck-root.service.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/units/fsck-root.service.in b/units/fsck-root.service.in
index 7b3529d..2f8c8f5 100644
--- a/units/fsck-root.service.in
+++ b/units/fsck-root.service.in
@@ -13,6 +13,8 @@ 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
+# Detect SUSE initrd too
+ConditionPathExists=!/dev/shm/initrd_exports.sh
 
 [Service]
 Type=oneshot
-- 
1.7.3.4


--=-3wQYVXPnLBoQhNEqHfNS--



More information about the systemd-devel mailing list