summaryrefslogtreecommitdiff
path: root/units/serial-getty@.service.m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-18 17:48:31 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-18 18:21:28 +0100
commitccf22d4a104e6ed2666d6c5b4031981a84787790 (patch)
treeb8b5daaba6a14c7ce47cf550fc36ee682bca5df1 /units/serial-getty@.service.m4
parent7cae38c4fa51a56cd13ff028278efe7fae3c222c (diff)
units: when spawning a getty configure TERM explicitly
This way we can make use of our logic to automatically determine an appropriate TERM for a specific tty.
Diffstat (limited to 'units/serial-getty@.service.m4')
-rw-r--r--units/serial-getty@.service.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index e32c6b7af..0e612bbde 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -22,7 +22,7 @@ Before=getty.target
IgnoreOnIsolate=yes
[Service]
-ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600
+ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600 $TERM
Type=idle
Restart=always
RestartSec=0