X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fgetty%40.service.m4;h=083eb970599f3b35ebaf731d7d19623f3bb6ea7e;hp=431a3dd722c6def4834d44e99f71065cfc1b683b;hb=83514a2fa0c9377e76dcc323ab7e7756b7f86cc4;hpb=f2b6878955b1f77ea1fa87b502b13d5dbefc57f6 diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 431a3dd72..083eb9705 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -7,23 +7,10 @@ [Unit] Description=Getty on %I +Documentation=man:agetty(8) man:systemd-getty-generator(8) +Documentation=http://0pointer.de/blog/projects/serial-console.html After=systemd-user-sessions.service plymouth-quit-wait.service -m4_ifdef(`TARGET_FEDORA', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_ARCH', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_FRUGALWARE', -After=local.service -)m4_dnl -m4_ifdef(`TARGET_ALTLINUX', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_MANDRIVA', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_MAGEIA', +m4_ifdef(`HAVE_SYSV_COMPAT', After=rc-local.service )m4_dnl @@ -39,8 +26,8 @@ IgnoreOnIsolate=yes ConditionPathExists=/dev/tty0 [Service] -Environment=TERM=linux -ExecStart=-/sbin/agetty %I 38400 +# the VT is cleared by TTYVTDisallocate +ExecStart=-/sbin/agetty --noclear %I 38400 linux Type=idle Restart=always RestartSec=0