aboutsummaryrefslogtreecommitdiffstats
path: root/mkinitcpio/ykfde-cpio
blob: c055a6dacdc5badafc7ee3b3d92df738f008b432 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

build() {
	# install files to initramfs
	add_binary /usr/lib/udev/ykfde
	add_file /usr/lib/initcpio/udev/20-ykfde.rules /usr/lib/udev/rules.d/20-ykfde.rules
	add_file /etc/ykfde.conf
}

help() {
	echo "This hook adds support for opening LUKS devices with Yubico key."
	echo "Please use command 'ykfde' to prepare."
	echo "The hook ykfde-cpio does NOT include challenges! Please load"
	echo "additional cpio archive with bootloader."
}