HEX
Server: Apache
System: Linux host35.server.ae 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: nokatech (2100)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //lib/dracut/modules.d/98integrity/module-setup.sh
#!/usr/bin/bash

# called by dracut
check() {
    return 255
}

# called by dracut
depends() {
    echo masterkey securityfs
    return 0
}

# called by dracut
install() {
    dracut_install evmctl keyctl ls
    inst_hook pre-pivot 61 "$moddir/evm-enable.sh"
    inst_hook pre-pivot 61 "$moddir/ima-keys-load.sh"
    inst_hook pre-pivot 62 "$moddir/ima-policy-load.sh"
}