aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-01-19 06:33:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-01-19 06:33:20 +0100
commit7c93617605e21585c1ada1a5721608efc026557a (patch)
treedbebc3aa1505f281661d1983adfa536f89614b39
parentbcd51134a89e54d93e1a851680506fb38004a3d2 (diff)
downloadmkinitcpio-ykfde-7c93617605e21585c1ada1a5721608efc026557a.tar.gz
mkinitcpio-ykfde-7c93617605e21585c1ada1a5721608efc026557a.tar.zst
add condition for query of 2nd factor
-rw-r--r--systemd/ykfde-2f.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/ykfde-2f.service b/systemd/ykfde-2f.service
index acb6d67..cfdab43 100644
--- a/systemd/ykfde-2f.service
+++ b/systemd/ykfde-2f.service
@@ -8,6 +8,7 @@ Description=Get 2nd Factor for YKFDE
DefaultDependencies=no
Before=cryptsetup-pre.target
Wants=cryptsetup-pre.target
+ConditionPathExists=/etc/ykfde.d/
[Service]
Type=oneshot