From 88c86ac7f0c78f579b09ee31586109c7f68c8298 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 20 Aug 2013 09:02:48 +0200 Subject: dracut.sh: fixed checking for FIPS mode --- dracut.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dracut.sh') diff --git a/dracut.sh b/dracut.sh index 7071d05c..5ac66b04 100755 --- a/dracut.sh +++ b/dracut.sh @@ -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=" " -- cgit v1.2.3