2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
2013-02-24 16:40:36 +00:00
|
|
|
# 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
|
2020-07-29 14:25:59 +00:00
|
|
|
AssertPathExists=/etc/initrd-release
|
2013-02-24 16:40:36 +00:00
|
|
|
DefaultDependencies=no
|
2020-07-29 14:30:28 +00:00
|
|
|
Wants=initrd-switch-root.service
|
2013-02-24 16:40:36 +00:00
|
|
|
Before=initrd-switch-root.service
|
|
|
|
AllowIsolate=yes
|
2016-10-11 12:36:14 +00:00
|
|
|
Wants=initrd-udevadm-cleanup-db.service initrd-root-fs.target initrd-fs.target systemd-journald.service initrd-cleanup.service
|
2019-01-28 11:07:37 +00:00
|
|
|
After=initrd-udevadm-cleanup-db.service initrd-root-fs.target initrd-fs.target emergency.service emergency.target initrd-cleanup.service
|