From 6b3fd98f7a8eb4adbc134797fb2e81a643004e0d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 29 Aug 2011 21:48:51 +0200 Subject: untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth --- units/systemd-ask-password-plymouth.service.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'units/systemd-ask-password-plymouth.service.in') diff --git a/units/systemd-ask-password-plymouth.service.in b/units/systemd-ask-password-plymouth.service.in index 2e071bdc86..92cbfdbf09 100644 --- a/units/systemd-ask-password-plymouth.service.in +++ b/units/systemd-ask-password-plymouth.service.in @@ -8,9 +8,11 @@ [Unit] Description=Forward Password Requests to Plymouth DefaultDependencies=no -Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service +Conflicts=shutdown.target +After=plymouth-start.service Before=shutdown.target ConditionKernelCommandLine=!plymouth.enable=0 +ConditionPathExists=/run/plymouth/pid [Service] ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth -- cgit v1.2.3-54-g00ecf