]> err.no Git - systemd/commitdiff
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 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
+ConditionKernelCommandLine=!plymouth.enable=0
 
 [Path]
 DirectoryNotEmpty=/run/systemd/ask-password
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