units: agetty overrides TERM
Environment=TERM=... has no effect on agetty who sets it by itself. To really set TERM to a specified value, it has to be given on the command line. https://bugzilla.redhat.com/show_bug.cgi?id=870622
This commit is contained in:
parent
fd09c93de9
commit
2161de72c5
|
@ -43,9 +43,8 @@ IgnoreOnIsolate=yes
|
|||
ConditionPathExists=/dev/tty0
|
||||
|
||||
[Service]
|
||||
Environment=TERM=linux
|
||||
# the VT is cleared by TTYVTDisallocate
|
||||
ExecStart=-/sbin/agetty --noclear %I 38400
|
||||
ExecStart=-/sbin/agetty --noclear %I 38400 linux
|
||||
Type=idle
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
|
|
|
@ -39,8 +39,7 @@ Before=getty.target
|
|||
IgnoreOnIsolate=yes
|
||||
|
||||
[Service]
|
||||
Environment=TERM=vt102
|
||||
ExecStart=-/sbin/agetty -s %I 115200,38400,9600
|
||||
ExecStart=-/sbin/agetty -s %I 115200,38400,9600 vt102
|
||||
Type=idle
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
|
|
Loading…
Reference in New Issue