1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00

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 DefaultDependencies=no
Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
Before=basic.target shutdown.target Before=basic.target shutdown.target
ConditionKernelCommandLine=!plymouth.enable=0
[Path] [Path]
DirectoryNotEmpty=/run/systemd/ask-password DirectoryNotEmpty=/run/systemd/ask-password

View File

@ -10,6 +10,7 @@ Description=Forward Password Requests to Plymouth
DefaultDependencies=no DefaultDependencies=no
Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
Before=shutdown.target Before=shutdown.target
ConditionKernelCommandLine=!plymouth.enable=0
[Service] [Service]
ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth