#!/bin/bash
# called by dracut
check() {
require_binaries losetup || return 1
return 255
}
# called by dracut
depends() {
echo crypt
}
# called by dracut
installkernel() {
hostonly='' instmods loop
}
# called by dracut
install() {
inst_multiple losetup
inst "$moddir/crypt-loop-lib.sh" "/lib/dracut-crypt-loop-lib.sh"
dracut_need_initqueue
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| crypt-loop-lib.sh | File | 1.25 KB | 0755 |
|
| module-setup.sh | File | 375 B | 0755 |
|