summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-10 00:21:25 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-10 00:21:25 +0200
commit61bec80cf3a86d574d73bdeba32e3c0f30198a4b (patch)
treef4d083cd5a3739b4f040571162e5d799930a04ee
parent1e532d14addcff114a0a358fc5e4c193707bd120 (diff)
getty: properly synchronize of tty devices being plugged in
-rw-r--r--units/getty@.service.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index e023a9dcb7..770fc6caac 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