From: Lennart Poettering Date: Tue, 16 Nov 2010 00:54:07 +0000 (+0100) Subject: units: set TERM for gettys again, since they acquire a TTY on their own X-Git-Tag: v12~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=180f90cb13ffbf8e6269ec3afb24243fec936e0c;p=systemd units: set TERM for gettys again, since they acquire a TTY on their own --- 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