fix agetty syntax

This commit is contained in:
Tobias Powalowski 2023-06-18 11:56:42 +02:00
parent 0f3843c276
commit 868a23c6c8
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ ConditionPathExists=/dev/tty0
# The '-o' option value tells agetty to replace 'login' arguments with an
# option to preserve environment (-p), followed by '--' for safety, and then
# the entered username.
ExecStart=-/sbin/agetty --skip-login --o "-f root -p -- \\u" - $TERM
ExecStart=-/sbin/agetty --skip-login --login-options "-f root -p -- \\u" - $TERM
Type=idle
Restart=always
RestartSec=0

View file

@ -30,7 +30,7 @@ Before=rescue.service
# The '-o' option value tells agetty to replace 'login' arguments with an
# option to preserve environment (-p), followed by '--' for safety, and then
# the entered username.
ExecStart=-/sbin/agetty --skip-login --o "-f root -p -- \\u" --keep-baud 115200,57600,38400,9600 - $TERM
ExecStart=-/sbin/agetty --skip-login --login-options "-f root -p -- \\u" --keep-baud 115200,57600,38400,9600 - $TERM
Type=idle
Restart=always
UtmpIdentifier=%I