summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8ac3925c4f..902ab6e053 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 d08203e2e1..b6ca80bc97 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