[systemd-devel] [PATCH] run systemd-vconsole-setup.service before systemd-ask-password-console.service

Harald Hoyer harald.hoyer at gmail.com
Thu Feb 14 03:54:29 PST 2013


Am 14.02.2013 11:26, schrieb harald at redhat.com:
> From: Harald Hoyer <harald at redhat.com>
> 
> ---
>  units/systemd-vconsole-setup.service.in | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in
> index 18faa63..c6d7a96 100644
> --- a/units/systemd-vconsole-setup.service.in
> +++ b/units/systemd-vconsole-setup.service.in
> @@ -11,10 +11,13 @@ Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5)
>  DefaultDependencies=no
>  Conflicts=shutdown.target
>  After=systemd-readahead-collect.service systemd-readahead-replay.service
> -Before=sysinit.target shutdown.target
> +Before=sysinit.target shutdown.target systemd-ask-password-console.service
>  ConditionPathExists=/dev/tty0
>  
>  [Service]
>  Type=oneshot
>  RemainAfterExit=yes
>  ExecStart=@rootlibexecdir@/systemd-vconsole-setup
> +
> +[Install]
> +WantedBy=systemd-ask-password-console.service
> 

ok, scratch that


More information about the systemd-devel mailing list