summaryrefslogtreecommitdiff
path: root/dracut.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-20 09:02:48 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-20 09:02:48 +0200
commit88c86ac7f0c78f579b09ee31586109c7f68c8298 (patch)
tree10ea107483825932edf9ead72a84432fe54fc116 /dracut.sh
parent55c912ae40cdbb479c4411821a7db943a8cfbc87 (diff)
downloaddracut-88c86ac7f0c78f579b09ee31586109c7f68c8298.tar.gz
dracut-88c86ac7f0c78f579b09ee31586109c7f68c8298.tar.bz2
dracut-88c86ac7f0c78f579b09ee31586109c7f68c8298.zip
dracut.sh: fixed checking for FIPS mode
Diffstat (limited to 'dracut.sh')
-rwxr-xr-xdracut.sh2
1 files changed, 1 insertions, 1 deletions
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=" "