From 40a0f31f1838d4774ebd960640bfb230dc562ea1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 16 Jan 2016 02:13:22 +0100 Subject: We have support for second factor. Yeah! --- mkinitcpio/ykfde-2f | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mkinitcpio/ykfde-2f (limited to 'mkinitcpio') diff --git a/mkinitcpio/ykfde-2f b/mkinitcpio/ykfde-2f new file mode 100644 index 0000000..5e09dd9 --- /dev/null +++ b/mkinitcpio/ykfde-2f @@ -0,0 +1,14 @@ +#!/bin/sh + +build() { + add_systemd_unit cryptsetup-pre.target + add_systemd_unit ykfde-2f.service + add_symlink "/usr/lib/systemd/system/sysinit.target.wants/ykfde-2f.service" "../ykfde-2f.service" + add_file /usr/lib/systemd/scripts/ykfde-2f + add_binary keyctl + add_binary systemd-ask-password +} + +help() { + echo "This hook adds 2nd factor support for Yubikey full disk encryption." +} -- cgit v1.2.3-54-g00ecf