summaryrefslogtreecommitdiff
path: root/units/getty@.service.m4
diff options
context:
space:
mode:
Diffstat (limited to 'units/getty@.service.m4')
-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