dracut.sh: fixed checking for FIPS mode

master
Harald Hoyer 2013-08-20 09:02:48 +02:00
parent 55c912ae40
commit 88c86ac7f0
1 changed files with 1 additions and 1 deletions

View File

@ -1010,7 +1010,7 @@ mods_to_load=""
for_each_module_dir check_module
for_each_module_dir check_mount

[[ "$mods_to_load " == *01fips\ * ]] && export DRACUT_FIPS_MODE=1
dracut_module_included "fips" && export DRACUT_FIPS_MODE=1

if [[ $print_cmdline ]]; then
modules_loaded=" "