chiark / gitweb /
plymouth: don't enable ask-password agent of plymouth is disabled
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Aug 2011 17:45:22 +0000 (19:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 29 Aug 2011 17:45:47 +0000 (19:45 +0200)
units/systemd-ask-password-plymouth.path
units/systemd-ask-password-plymouth.service.in

index 6a96520..ba592c7 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
+ConditionKernelCommandLine=!plymouth.enable=0
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password
index a7cd451..2e071bd 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