plymouth: don't enable ask-password agent of plymouth is disabled

This commit is contained in:
Lennart Poettering 2011-08-29 19:45:22 +02:00
parent 7daa9e6e29
commit 8e4fb44ab0
2 changed files with 2 additions and 0 deletions

View 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

View 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