chiark / gitweb /
untis: allow both console and plymouth ask password agents in boot transaction to...
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Aug 2011 19:48:51 +0000 (21:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 29 Aug 2011 19:48:51 +0000 (21:48 +0200)
units/systemd-ask-password-console.path
units/systemd-ask-password-console.service.in
units/systemd-ask-password-plymouth.path
units/systemd-ask-password-plymouth.service.in

index b5acf94..c3143d1 100644 (file)
@@ -9,7 +9,9 @@
 Description=Dispatch Password Requests to Console Directory Watch
 DefaultDependencies=no
 Conflicts=shutdown.target
+After=plymouth-start.service
 Before=basic.target shutdown.target
+ConditionPathExists=!/run/plymouth/pid
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password
index a2ac09c..5ff3ed5 100644 (file)
@@ -9,7 +9,9 @@
 Description=Dispatch Password Requests to Console
 DefaultDependencies=no
 Conflicts=shutdown.target
+After=plymouth-start.service
 Before=shutdown.target
+ConditionPathExists=!/run/plymouth/pid
 
 [Service]
 ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --console
index ba592c7..06a5876 100644 (file)
@@ -8,9 +8,11 @@
 [Unit]
 Description=Forward Password Requests to Plymouth Directory Watch
 DefaultDependencies=no
-Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
+Conflicts=shutdown.target
+After=plymouth-start.service
 Before=basic.target shutdown.target
 ConditionKernelCommandLine=!plymouth.enable=0
+ConditionPathExists=/run/plymouth/pid
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password
index 2e071bd..92cbfdb 100644 (file)
@@ -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