mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
units: order getty units after getty-pre.target unconditionally
Those two units had this ordering conditionalized on HAVE_SYSV_COMPAT. This
seems strange. 45e2753297
added the ordering
differently for those two files without any comment, and I think it was just
pasted or scripted erroneously.
This commit is contained in:
parent
64fe2aeaf7
commit
ce0fe01f22
|
@ -10,9 +10,9 @@
|
|||
[Unit]
|
||||
Description=Console Getty
|
||||
Documentation=man:agetty(8) man:systemd-getty-generator(8)
|
||||
After=systemd-user-sessions.service plymouth-quit-wait.service
|
||||
After=systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target
|
||||
{% if HAVE_SYSV_COMPAT %}
|
||||
After=rc-local.service getty-pre.target
|
||||
After=rc-local.service
|
||||
{% endif %}
|
||||
Before=getty.target
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
Description=Container Getty on /dev/pts/%I
|
||||
Documentation=man:agetty(8) man:systemd-getty-generator(8)
|
||||
Documentation=man:machinectl(1)
|
||||
After=systemd-user-sessions.service plymouth-quit-wait.service
|
||||
After=systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target
|
||||
{% if HAVE_SYSV_COMPAT %}
|
||||
After=rc-local.service getty-pre.target
|
||||
After=rc-local.service
|
||||
{% endif %}
|
||||
Before=getty.target
|
||||
IgnoreOnIsolate=yes
|
||||
|
|
Loading…
Reference in a new issue