17 lines
873 B
Desktop File
17 lines
873 B
Desktop File
[Unit]
|
|
Description=Dispatch Password Requests to Console when bootsplash is active
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
Conflicts=systemd-ask-password-console.path
|
|
Conflicts=systemd-ask-password-console.service
|
|
After=plymouth-start.service systemd-vconsole-setup.service
|
|
Before=shutdown.target
|
|
ConditionPathExists=!/run/plymouth/pid
|
|
ConditionPathExists=/sys/devices/platform/bootsplash.0/enabled
|
|
|
|
[Service]
|
|
ExecStartPre=-/bin/sh -c '/bin/cat /sys/devices/platform/bootsplash.0/enabled > /run/systemd/ask-password/bootsplash-state ; exec /bin/echo off > /sys/devices/platform/bootsplash.0/enabled'
|
|
ExecStart=/usr/bin/systemd-tty-ask-password-agent --query --console
|
|
ExecStartPost=-/bin/sh -c 'exec /bin/cat /run/systemd/ask-password/bootsplash-state > /sys/devices/platform/bootsplash.0/enabled ; /bin/rm /run/systemd/ask-password/bootsplash-state'
|
|
Type=oneshot
|