X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=units%2Fgetty%40.service.m4;h=f1f7f326304b9e12777755f49883665643688cd5;hb=b3eaa6288107210a84d6d121036fb4b2f7283ee2;hp=1ada4ffd01a2206e1f770acff7affb62518b826b;hpb=1f48cf56cb2693b84fdc76dc8df0b048ed50ef43;p=elogind.git diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 1ada4ffd0..f1f7f3263 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -9,12 +9,17 @@ m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl +m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl 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 @@ -22,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