mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units: Load agetty credentials in all getty units
In it's latest release, agetty will support reading the agetty.autologin and login.noauth credentials, so let's make sure we import those in our getty units so they're available to agetty to read.
This commit is contained in:
@@ -36,6 +36,8 @@ KillMode=process
|
||||
{% endif %}
|
||||
IgnoreSIGPIPE=no
|
||||
SendSIGHUP=yes
|
||||
ImportCredential=agetty.*
|
||||
ImportCredential=login.*
|
||||
|
||||
[Install]
|
||||
WantedBy=getty.target
|
||||
|
||||
@@ -42,3 +42,5 @@ KillMode=process
|
||||
{% endif %}
|
||||
IgnoreSIGPIPE=no
|
||||
SendSIGHUP=yes
|
||||
ImportCredential=agetty.*
|
||||
ImportCredential=login.*
|
||||
|
||||
@@ -54,6 +54,8 @@ KillMode=process
|
||||
{% endif %}
|
||||
IgnoreSIGPIPE=no
|
||||
SendSIGHUP=yes
|
||||
ImportCredential=agetty.*
|
||||
ImportCredential=login.*
|
||||
|
||||
# Unset locale for the console getty since the console has problems
|
||||
# displaying some internationalized messages.
|
||||
|
||||
@@ -47,6 +47,8 @@ KillMode=process
|
||||
{% endif %}
|
||||
IgnoreSIGPIPE=no
|
||||
SendSIGHUP=yes
|
||||
ImportCredential=agetty.*
|
||||
ImportCredential=login.*
|
||||
|
||||
[Install]
|
||||
WantedBy=getty.target
|
||||
|
||||
Reference in New Issue
Block a user