From f2a29e51f21f446c8b6e53f60c72bedf5b8b4e25 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 16 Nov 2010 01:51:57 +0100 Subject: [PATCH] units: allow start-up of plymouth ask-password agent very early --- units/systemd-ask-password-plymouth.path | 2 ++ units/systemd-ask-password-plymouth.service.in | 3 +++ units/systemd-ask-password-wall.path | 2 ++ 3 files changed, 7 insertions(+) diff --git a/units/systemd-ask-password-plymouth.path b/units/systemd-ask-password-plymouth.path index 827f1385e..8e5e51290 100644 --- a/units/systemd-ask-password-plymouth.path +++ b/units/systemd-ask-password-plymouth.path @@ -8,6 +8,8 @@ [Unit] Description=Forward Password Requests to Plymouth Directory Watch DefaultDependencies=no +Conflicts=shutdown.target +Before=basic.target shutdown.target [Path] DirectoryNotEmpty=/dev/.systemd/ask-password diff --git a/units/systemd-ask-password-plymouth.service.in b/units/systemd-ask-password-plymouth.service.in index 3cd9b7fe7..8ed22ac65 100644 --- a/units/systemd-ask-password-plymouth.service.in +++ b/units/systemd-ask-password-plymouth.service.in @@ -7,6 +7,9 @@ [Unit] Description=Forward Password Requests to Plymouth +DefaultDependencies=no +Conflicts=shutdown.target +Before=shutdown.target [Service] ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth diff --git a/units/systemd-ask-password-wall.path b/units/systemd-ask-password-wall.path index d7a9e3c4b..9c4b1d3d2 100644 --- a/units/systemd-ask-password-wall.path +++ b/units/systemd-ask-password-wall.path @@ -8,6 +8,8 @@ [Unit] Description=Forward Password Requests to Wall Directory Watch DefaultDependencies=no +Conflicts=shutdown.target +Before=basic.target shutdown.target [Path] DirectoryNotEmpty=/dev/.systemd/ask-password