]> err.no Git - systemd/commitdiff
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 e023a9dcb74af931ca5143ab8c5d5c27d3bfe9b7..770fc6caac588385c4a9e7809b81d9696645a567 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