golden hour
/lib/dracut/modules.d/01fips
⬆️ Go Up
Upload
File/Folder
Size
Actions
fips-boot.sh
490 B
Del
OK
fips-load-crypto.sh
443 B
Del
OK
fips-noboot.sh
472 B
Del
OK
fips.sh
8.61 KB
Del
OK
module-setup.sh
1.94 KB
Del
OK
openssl.cnf
136 B
Del
OK
Edit: fips-boot.sh
#!/usr/bin/sh type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh if ! fipsmode=$(getarg fips) || [ "$fipsmode" = "0" ]; then rm -f -- /etc/modprobe.d/fips.conf > /dev/null 2>&1 elif [ -z "$fipsmode" ]; then die "FIPS mode have to be enabled by 'fips=1' not just 'fips'" elif getarg boot= > /dev/null; then . /sbin/fips.sh fips_info "fips-boot: start" if mount_boot; then do_fips || die "FIPS integrity test failed" fi fips_info "fips-boot: done!" fi
Save