chiark / gitweb /
plymouth: don't enable ask-password agent of plymouth is disabled
[elogind.git] / units / systemd-ask-password-plymouth.path
index 1d09223f7ac0327a7dcd7a5e61c3e5f8feab295f..ba592c7ce6ca7289090d482e978d79598e0fa453 100644 (file)
@@ -10,6 +10,8 @@ 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]
 
 [Path]
-DirectoryNotEmpty=/dev/.systemd/ask-password
+DirectoryNotEmpty=/run/systemd/ask-password
+MakeDirectory=yes