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