chiark / gitweb /
resolved: Do not add .busname dependencies, when compiling without kdbus.
[elogind.git] / units / console-getty.service.m4.in
index 464732c742a642fd0139114c658da363562ce9f1..413d94094b19a683af2d8a1c951befffb324154c 100644 (file)
@@ -9,13 +9,14 @@
 Description=Console Getty
 Documentation=man:agetty(8)
 After=systemd-user-sessions.service plymouth-quit-wait.service
+ConditionPathExists=/dev/console
 m4_ifdef(`HAVE_SYSV_COMPAT',
 After=rc-local.service
 )m4_dnl
 Before=getty.target
 
 [Service]
-ExecStart=-/sbin/agetty --noclear --keep-baud console 115200,38400,9600
+ExecStart=-/sbin/agetty --noclear --keep-baud console 115200,38400,9600 $TERM
 Type=idle
 Restart=always
 RestartSec=0