chiark / gitweb /
units: when spawning a getty configure TERM explicitly
[elogind.git] / units / getty@.service.m4
index 253da85..aa853b8 100644 (file)
@@ -27,7 +27,7 @@ ConditionPathExists=/dev/tty0
 
 [Service]
 # the VT is cleared by TTYVTDisallocate
-ExecStart=-/sbin/agetty --noclear %I
+ExecStart=-/sbin/agetty --noclear %I $TERM
 Type=idle
 Restart=always
 RestartSec=0