4 [ -x /sbin/cryptsetup-reencrypt ] || return 1
13 # requires hostonly='' override so that loop module is pulled in initramfs
14 # even if not loaded in actual kernel. dracut bug?
15 hostonly='' instmods dm_crypt =crypto loop
19 if dracut_module_included crypt; then
20 derror "'reencrypt' can't be installed together with 'crypt'."
21 derror "Add '-o crypt' option to install reencrypt module."
25 dracut_install cryptsetup-reencrypt
27 inst_hook cmdline 30 "$moddir/parse-reencrypt.sh"
28 inst_simple "$moddir"/reencrypt.sh /sbin/reencrypt