mirror of
https://github.com/systemd/systemd.git
synced 2025-01-14 04:24:13 +08:00
plymouth: don't enable ask-password agent of plymouth is disabled
This commit is contained in:
parent
7daa9e6e29
commit
8e4fb44ab0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user