X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fconsole-getty.service.m4.in;h=413d94094b19a683af2d8a1c951befffb324154c;hb=defa8e675b2903ad53e093bb2847c7256f0779a5;hp=464732c742a642fd0139114c658da363562ce9f1;hpb=04d39279245834494baccfdb9349db8bf80abd13;p=elogind.git diff --git a/units/console-getty.service.m4.in b/units/console-getty.service.m4.in index 464732c74..413d94094 100644 --- a/units/console-getty.service.m4.in +++ b/units/console-getty.service.m4.in @@ -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