X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=units%2Finitrd-switch-root.target;fp=units%2Finitrd-switch-root.target;h=f706d29ba6e51979950b7cd48eaf0ac752f82f06;hb=cf843477946451fabf9b5d17eec8ec81515057b6;hp=0000000000000000000000000000000000000000;hpb=3d22d1ab57bf44c92e4d9ca95d9728105dd3fb0d;p=elogind.git diff --git a/units/initrd-switch-root.target b/units/initrd-switch-root.target new file mode 100644 index 000000000..f706d29ba --- /dev/null +++ b/units/initrd-switch-root.target @@ -0,0 +1,16 @@ +# 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=Switch Root +ConditionPathExists=/etc/initrd-release +DefaultDependencies=no +Requires=initrd-switch-root.service +Before=initrd-switch-root.service +AllowIsolate=yes +Wants=initrd-udevadm-cleanup-db.service local-fs.target swap.target systemd-journald.service +After=initrd-udevadm-cleanup-db.service local-fs.target swap.target emergency.service emergency.target