summaryrefslogtreecommitdiffstats
path: root/systemd/ykfde-2f.service
blob: 0faf348b66b308838c5a077011826b7614ddfbde (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# (C) 2016-2017 by Christian Hesse <mail@eworm.de>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.

[Unit]
Description=Get 2nd Factor for YKFDE
DefaultDependencies=no
Before=cryptsetup-pre.target
Wants=cryptsetup-pre.target
ConditionPathExists=/etc/ykfde.d/

[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutSec=0
ExecStart=/usr/bin/systemd-ask-password --no-tty --no-output --keyname='ykfde-2f' 'Please enter second factor for Yubikey full disk encryption!'