[systemd-devel] [PATCH] run systemd-vconsole-setup.service before systemd-ask-password-console.service

harald at redhat.com harald at redhat.com
Thu Feb 14 02:26:04 PST 2013


From: Harald Hoyer <harald at 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



More information about the systemd-devel mailing list