chiark / gitweb /
units: agetty overrides TERM
[elogind.git] / units / getty@.service.m4
index b5875ce491a696153280caceee622f78a1222694..810c23fc12258ff91bf1a26c7766c97b5bfc14d5 100644 (file)
@@ -43,9 +43,8 @@ IgnoreOnIsolate=yes
 ConditionPathExists=/dev/tty0
 
 [Service]
-Environment=TERM=linux
 # the VT is cleared by TTYVTDisallocate
-ExecStart=-/sbin/agetty --noclear %I 38400
+ExecStart=-/sbin/agetty --noclear %I 38400 linux
 Type=idle
 Restart=always
 RestartSec=0