/usr/lib/dracut/modules.d/91crypt-loop/module-setup.sh is in dracut 027-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | check() {
type -P losetup >/dev/null || return 1
return 255
}
depends() {
echo crypt
}
install() {
dracut_install losetup
inst "$moddir/crypt-loop-lib.sh" "/lib/dracut-crypt-loop-lib.sh"
dracut_need_initqueue
}
|