getty: properly synchronize of tty devices being plugged in
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index e023a9d..770fc6c 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -13,7 +13,8 @@
 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