From: Lennart Poettering Date: Tue, 16 Nov 2010 00:51:57 +0000 (+0100) Subject: units: allow start-up of plymouth ask-password agent very early X-Git-Tag: v12~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2a29e51f21f446c8b6e53f60c72bedf5b8b4e25;p=thirdparty%2Fsystemd.git units: allow start-up of plymouth ask-password agent very early --- diff --git a/units/systemd-ask-password-plymouth.path b/units/systemd-ask-password-plymouth.path index 827f1385e88..8e5e51290d3 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 3cd9b7fe773..8ed22ac651c 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 d7a9e3c4bc7..9c4b1d3d24f 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