From: Lennart Poettering Date: Mon, 9 Aug 2010 22:21:25 +0000 (+0200) Subject: getty: properly synchronize of tty devices being plugged in X-Git-Tag: v7~4 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=61bec80cf3a86d574d73bdeba32e3c0f30198a4b;hp=1e532d14addcff114a0a358fc5e4c193707bd120 getty: properly synchronize of tty devices being plugged in --- diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index e023a9dcb..770fc6caa 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -13,7 +13,8 @@ m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl m4_dnl [Unit] Description=Getty on %I -Before=getty.target +Requires=dev-%i.device +After=dev-%i.device m4_ifdef(`TARGET_FEDORA', After=rc-local.service )m4_dnl