Browse Source

fix(fips): add and remove local variables

master
Antonio Alvarez Feijoo 3 years ago committed by Jóhann B. Guðmundsson
parent
commit
e8121bfddd
  1. 4
      modules.d/01fips/fips.sh

4
modules.d/01fips/fips.sh

@ -79,6 +79,7 @@ nonfatal_modprobe() {
fips_load_crypto() { fips_load_crypto() {
local _k local _k
local _v local _v
local _module
local _found local _found


FIPSMODULES=$(cat /etc/fipsmodules) FIPSMODULES=$(cat /etc/fipsmodules)
@ -108,9 +109,6 @@ fips_load_crypto() {
} }


do_fips() { do_fips() {
local _v
local _module

KERNEL=$(uname -r) KERNEL=$(uname -r)


if ! getarg rd.fips.skipkernel > /dev/null; then if ! getarg rd.fips.skipkernel > /dev/null; then

Loading…
Cancel
Save