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=f1f7f326304b9e12777755f49883665643688cd5;hp=8f3f628b54684aa8e9276eaea6f6f8c888132e33;hb=b3eaa6288107210a84d6d121036fb4b2f7283ee2;hpb=1ebdf2d8793181f31b766b8342391aa1978f9917 diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 8f3f628b5..f1f7f3263 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -14,8 +14,12 @@ m4_dnl [Unit] Description=Getty on %I Before=getty.target -After=basic.target -Conflicts=shutdown.target +m4_ifdef(`TARGET_FEDORA', +After=rc-local.service +)m4_dnl +m4_ifdef(`TARGET_ARCH', +After=rc-local.service +)m4_dnl [Service] Environment=TERM=linux @@ -23,3 +27,11 @@ ExecStart=GETTY %I Restart=restart-always RestartSec=0 KillMode=process-group + +[Install] +Alias=getty.target.wants/getty@tty1.service +Alias=getty.target.wants/getty@tty2.service +Alias=getty.target.wants/getty@tty3.service +Alias=getty.target.wants/getty@tty4.service +Alias=getty.target.wants/getty@tty5.service +Alias=getty.target.wants/getty@tty6.service