summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-04 19:01:05 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-04 19:33:50 +0100
commit39b83cdab37623a546344622db9bbbc784c15df5 (patch)
tree8c89fc4567d9f4e21a3a90f7590ee3c19e872c98 /units
parent47c490345256f2db32d8d883cd7c5243158a14e1 (diff)
add initrd-fs.target and initrd-fs-pre.target
Diffstat (limited to 'units')
-rw-r--r--units/initrd-fs-pre.target11
-rw-r--r--units/initrd-fs.target13
2 files changed, 24 insertions, 0 deletions
diff --git a/units/initrd-fs-pre.target b/units/initrd-fs-pre.target
new file mode 100644
index 0000000000..9aa8061a57
--- /dev/null
+++ b/units/initrd-fs-pre.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Initrd File Systems (Pre)
+Documentation=man:systemd.special(7)
+ConditionPathExists=/etc/initrd-release
diff --git a/units/initrd-fs.target b/units/initrd-fs.target
new file mode 100644
index 0000000000..6ba1758e45
--- /dev/null
+++ b/units/initrd-fs.target
@@ -0,0 +1,13 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Initrd File Systems
+Documentation=man:systemd.special(7)
+OnFailure=emergency.target
+OnFailureIsolate=yes
+ConditionPathExists=/etc/initrd-release