mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50: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
|
# The '-o' option value tells agetty to replace 'login' arguments with an
|
||||||
# option to preserve environment (-p), followed by '--' for safety, and then
|
# option to preserve environment (-p), followed by '--' for safety, and then
|
||||||
# the entered username.
|
# 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
|
Type=idle
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=0
|
RestartSec=0
|
||||||
|
|
|
@ -30,7 +30,7 @@ Before=rescue.service
|
||||||
# The '-o' option value tells agetty to replace 'login' arguments with an
|
# The '-o' option value tells agetty to replace 'login' arguments with an
|
||||||
# option to preserve environment (-p), followed by '--' for safety, and then
|
# option to preserve environment (-p), followed by '--' for safety, and then
|
||||||
# the entered username.
|
# 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
|
Type=idle
|
||||||
Restart=always
|
Restart=always
|
||||||
UtmpIdentifier=%I
|
UtmpIdentifier=%I
|
||||||
|
|
Loading…
Reference in a new issue