From 180f90cb13ffbf8e6269ec3afb24243fec936e0c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 16 Nov 2010 01:54:07 +0100 Subject: [PATCH] units: set TERM for gettys again, since they acquire a TTY on their own --- units/getty@.service.m4 | 1 + units/serial-getty@.service.m4 | 1 + 2 files changed, 2 insertions(+) diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 8ac3925c..902ab6e0 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -22,6 +22,7 @@ After=rc-local.service Before=getty.target [Service] +Environment=TERM=linux ExecStart=-/sbin/agetty %I 38400 Restart=always RestartSec=0 diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index d08203e2..b6ca80bc 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -22,6 +22,7 @@ After=rc-local.service Before=getty.target [Service] +Environment=TERM=vt100-nav m4_ifdef(`TARGET_FEDORA', ExecStartPre=-/sbin/securetty %I )m4_dnl -- 2.39.5