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