5 if [ -z "${CRYPTO_MODULES}" ]; then
6 MODULES=" dm-crypt $(all_modules "/crypto/") "
8 MODULES=" dm-crypt ${CRYPTO_MODULES} "
11 add_dir "/var/run/openct"
12 [ -f "/sbin/cryptsetup" ] && add_binary "/sbin/cryptsetup" "/sbin/cryptsetup"
13 [ -f "/usr/sbin/cryptsetup" ] && add_binary "/usr/sbin/cryptsetup" "/sbin/cryptsetup"
14 add_binary "/sbin/dmsetup"
15 add_file "/lib/initcpio/sc/opensc.conf" "/etc/opensc.conf"
16 add_file "/lib/initcpio/sc/openct.conf" "/etc/openct.conf"
17 add_file "/lib/initcpio/sc/ifdhandler" "/sbin/ifdhandler"
18 add_file "/lib/initcpio/sc/openct-control" "/sbin/openct-control"
19 add_file "/lib/initcpio/sc/pkcs15-tool" "/sbin/pkcs15-tool"
20 add_file "/lib/initcpio/sc/95-openct.rules" "/lib/udev/rules.d/95-openct.rules"
21 add_file "/lib/initcpio/sc/openct_pcmcia" "/lib/udev/openct_pcmcia"
22 add_file "/lib/initcpio/sc/openct_serial" "/lib/udev/openct_serial"
23 add_file "/lib/initcpio/sc/openct_usb" "/lib/udev/openct_usb"
31 This hook allows for an encrypted root device with a smart card support.