This commit is contained in:
2019-09-21 01:01:29 +02:00
parent 78d5eafc9a
commit afcb48110b
2 changed files with 6 additions and 5 deletions

View File

@@ -5,6 +5,6 @@ Description=Wait for a FIDO2 device to be connected
Type=oneshot
Environment=CON_MSG="Please connect your authenicator"
ExecStartPre=/usr/bin/plymouth display-message --text "${CON_MSG}"
ExecStart=/bin/bash -c 'while ! fido2luks connected; do sleep 1; done'
ExecStart=/bin/bash -c 'while ! /usr/bin/fido2luks connected; do /usr/bin/sleep 1; done'
ExecStopPost=/usr/bin/plymouth hide-message --text "${CON_MSG}"