summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-16 01:25:19 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-16 01:25:19 +0100
commit1e7ba843daad637eb118b9098452d53ca13ca70b (patch)
tree62b845aad94a0295e04e07da2019d73bf4a6f694
parentd90b9d27af56f808a275789c7aa228f6300175d7 (diff)
units: delay getty until logins are allowed
-rw-r--r--units/getty@.service.m42
-rw-r--r--units/serial-getty@.service.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index d6bd9a9dbe..8ac3925c4f 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -8,7 +8,7 @@
[Unit]
Description=Getty on %I
BindTo=dev-%i.device
-After=dev-%i.device
+After=dev-%i.device systemd-user-sessions.service
m4_ifdef(`TARGET_FEDORA',
After=rc-local.service
)m4_dnl
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index d454dce468..d08203e2e1 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -8,7 +8,7 @@
[Unit]
Description=Serial Getty on %I
BindTo=dev-%i.device
-After=dev-%i.device
+After=dev-%i.device systemd-user-sessions.service
m4_ifdef(`TARGET_FEDORA',
After=rc-local.service
)m4_dnl