summaryrefslogtreecommitdiff
path: root/units/getty@.service.m4
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-10-29 21:59:34 +0100
committerMichal Schmidt <mschmidt@redhat.com>2012-10-29 22:58:40 +0100
commit2161de72c517d34d1ceb9b4c1a300f0b54ce5a9c (patch)
tree78652093f5056096a3c8c3bb55ab493b054ef03f /units/getty@.service.m4
parentfd09c93de9337c3df566180d04368353bb3662e7 (diff)
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
Diffstat (limited to 'units/getty@.service.m4')
-rw-r--r--units/getty@.service.m43
1 files changed, 1 insertions, 2 deletions
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