chiark / gitweb /
getty: properly synchronize of tty devices being plugged in
authorLennart Poettering <lennart@poettering.net>
Mon, 9 Aug 2010 22:21:25 +0000 (00:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 9 Aug 2010 22:21:25 +0000 (00:21 +0200)
units/getty@.service.m4

index e023a9d..770fc6c 100644 (file)
@@ -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