chiark / gitweb /
plymouth: don't enable ask-password agent of plymouth is disabled
[elogind.git] / units / systemd-ask-password-plymouth.path
index 6a96520921c1185d2abf4ce19e038c68689f48e9..ba592c7ce6ca7289090d482e978d79598e0fa453 100644 (file)
@@ -10,6 +10,7 @@ Description=Forward Password Requests to Plymouth Directory Watch
 DefaultDependencies=no
 Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
 Before=basic.target shutdown.target
 DefaultDependencies=no
 Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
 Before=basic.target shutdown.target
+ConditionKernelCommandLine=!plymouth.enable=0
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password