summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-16 01:54:07 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-16 01:54:07 +0100
commit180f90cb13ffbf8e6269ec3afb24243fec936e0c (patch)
tree1ead94a00dd95e43c457047654c58da27e2b3fa4
parentf2a29e51f21f446c8b6e53f60c72bedf5b8b4e25 (diff)
units: set TERM for gettys again, since they acquire a TTY on their own
-rw-r--r--units/getty@.service.m41
-rw-r--r--units/serial-getty@.service.m41
2 files changed, 2 insertions, 0 deletions
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index 8ac3925c4..902ab6e05 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 d08203e2e..b6ca80bc9 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