Browse Source

dracut.sh: fixed checking for FIPS mode

master
Harald Hoyer 11 years ago
parent
commit
88c86ac7f0
  1. 2
      dracut.sh

2
dracut.sh

@ -1010,7 +1010,7 @@ mods_to_load="" @@ -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=" "

Loading…
Cancel
Save