mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-29 15:44:14 +00:00
Deleted NVChip file during reset
Deleted NVChip file during reset
This commit is contained in:
parent
85e7999d8b
commit
c8ced804d9
@ -114,16 +114,16 @@ function resetTpm2Emulator {
|
|||||||
|
|
||||||
echo "clearing the TPM PCR values"
|
echo "clearing the TPM PCR values"
|
||||||
|
|
||||||
pkill -f "tpm2-abrmd"
|
#pkill -f "tpm2-abrmd"
|
||||||
pkill -f "tpm_server"
|
#pkill -f "tpm_server"
|
||||||
rm -rf /ibmtpm/tpmvstudio/tpm_server
|
rm /ibmtpm/src/NVChip
|
||||||
/ibmtpm/src/./tpm_server &
|
# /ibmtpm/src/./tpm_server &
|
||||||
sleep 1
|
# sleep 1
|
||||||
pushd /ibmtss/utils > /dev/null
|
# pushd /ibmtss/utils > /dev/null
|
||||||
./startup
|
# ./startup
|
||||||
sleep 3
|
# sleep 1
|
||||||
popd > /dev/null
|
# popd > /dev/null
|
||||||
tpm2-abrmd -t socket &
|
# tpm2-abrmd -t socket &
|
||||||
}
|
}
|
||||||
|
|
||||||
# Function to update the hirs-site.config file
|
# Function to update the hirs-site.config file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user