chiark / gitweb /
plymouth: don't enable ask-password agent of plymouth is disabled
[elogind.git] / units / systemd-ask-password-plymouth.service.in
index a7cd451aed5815088896d0c4f49c7ee09075ea40..2e071bdc86136c5db5d65b3e8a68ed85d2ce8442 100644 (file)
@@ -10,6 +10,7 @@ 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