]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/initrd-switch-root.target: add ConditionPathExist
authorHarald Hoyer <harald@redhat.com>
Wed, 11 Jul 2012 06:41:31 +0000 (08:41 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Jul 2012 06:41:31 +0000 (08:41 +0200)
modules.d/98systemd/initrd-switch-root.target

index feb716260a34260870b32109e776aa51abe8fe82..74647a5e0f0908b11ba63c71dbe8f5e5f3ba7adb 100644 (file)
@@ -14,3 +14,4 @@ Requires=initrd-switch-root.service
 Before=initrd-switch-root.service
 AllowIsolate=yes
 Wants=systemd-journald.service
+ConditionPathExists=/etc/initrd-release