untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth

This commit is contained in:
Lennart Poettering 2011-08-29 21:48:51 +02:00
parent 8e4fb44ab0
commit 6b3fd98f7a
4 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,9 @@
Description=Dispatch Password Requests to Console Directory Watch
DefaultDependencies=no
Conflicts=shutdown.target
After=plymouth-start.service
Before=basic.target shutdown.target
ConditionPathExists=!/run/plymouth/pid
[Path]
DirectoryNotEmpty=/run/systemd/ask-password

View File

@ -9,7 +9,9 @@
Description=Dispatch Password Requests to Console
DefaultDependencies=no
Conflicts=shutdown.target
After=plymouth-start.service
Before=shutdown.target
ConditionPathExists=!/run/plymouth/pid
[Service]
ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --console

View File

@ -8,9 +8,11 @@
[Unit]
Description=Forward Password Requests to Plymouth Directory Watch
DefaultDependencies=no
Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
Conflicts=shutdown.target
After=plymouth-start.service
Before=basic.target shutdown.target
ConditionKernelCommandLine=!plymouth.enable=0
ConditionPathExists=/run/plymouth/pid
[Path]
DirectoryNotEmpty=/run/systemd/ask-password

View File

@ -8,9 +8,11 @@
[Unit]
Description=Forward Password Requests to Plymouth
DefaultDependencies=no
Conflicts=shutdown.target systemd-ask-password-console.path systemd-ask-password-console.service
Conflicts=shutdown.target
After=plymouth-start.service
Before=shutdown.target
ConditionKernelCommandLine=!plymouth.enable=0
ConditionPathExists=/run/plymouth/pid
[Service]
ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth