chiark / gitweb /
plymouth: don't enable ask-password agent of plymouth is disabled
[elogind.git] / units / systemd-ask-password-plymouth.service.in
index 3cd9b7fe7739ec679e821fec7f369440f8e0412f..2e071bdc86136c5db5d65b3e8a68ed85d2ce8442 100644 (file)
@@ -7,6 +7,10 @@
 
 [Unit]
 Description=Forward Password Requests to Plymouth
+DefaultDependencies=no
+Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
+Before=shutdown.target
+ConditionKernelCommandLine=!plymouth.enable=0
 
 [Service]
 ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth