]>
Commit | Line | Data |
---|---|---|
4257798f HH |
1 | #!/bin/sh |
2 | # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- | |
3 | # ex: ts=8 sw=4 sts=4 et filetype=sh | |
4 | ||
5 | if ! fipsmode=$(getarg fips) || [ $fipsmode = "0" ]; then | |
32bd2fbb | 6 | rm -f -- /etc/modprobe.d/fips.conf >/dev/null 2>&1 |
4257798f HH |
7 | elif ! [ -f /tmp/fipsdone ]; then |
8 | . /sbin/fips.sh | |
9 | mount_boot | |
10 | do_fips || die "FIPS integrity test failed" | |
11 | fi |