From 2161de72c517d34d1ceb9b4c1a300f0b54ce5a9c Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Mon, 29 Oct 2012 21:59:34 +0100 Subject: 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 --- units/getty@.service.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'units/getty@.service.m4') diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index b5875ce491..810c23fc12 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -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 -- cgit v1.2.3-54-g00ecf