aboutsummaryrefslogtreecommitdiffstats
path: root/mkinitcpio/ykfde-2f
blob: 5e09dd9fac369d0e15ca5a8c4f3fd12efd1b3da5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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."
}