mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix agetty syntax
This commit is contained in:
parent
0f3843c276
commit
868a23c6c8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue