From: Harald Hoyer <har...@redhat.com>

---
 units/systemd-vconsole-setup.service.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/units/systemd-vconsole-setup.service.in 
b/units/systemd-vconsole-setup.service.in
index 18faa63..c6d7a96 100644
--- a/units/systemd-vconsole-setup.service.in
+++ b/units/systemd-vconsole-setup.service.in
@@ -11,10 +11,13 @@ Documentation=man:systemd-vconsole-setup.service(8) 
man:vconsole.conf(5)
 DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service
-Before=sysinit.target shutdown.target
+Before=sysinit.target shutdown.target systemd-ask-password-console.service
 ConditionPathExists=/dev/tty0
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-vconsole-setup
+
+[Install]
+WantedBy=systemd-ask-password-console.service
-- 
1.8.1

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to