mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-18 02:39:56 +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"
|
||||
|
||||
pkill -f "tpm2-abrmd"
|
||||
pkill -f "tpm_server"
|
||||
rm -rf /ibmtpm/tpmvstudio/tpm_server
|
||||
/ibmtpm/src/./tpm_server &
|
||||
sleep 1
|
||||
pushd /ibmtss/utils > /dev/null
|
||||
./startup
|
||||
sleep 3
|
||||
popd > /dev/null
|
||||
tpm2-abrmd -t socket &
|
||||
#pkill -f "tpm2-abrmd"
|
||||
#pkill -f "tpm_server"
|
||||
rm /ibmtpm/src/NVChip
|
||||
# /ibmtpm/src/./tpm_server &
|
||||
# sleep 1
|
||||
# pushd /ibmtss/utils > /dev/null
|
||||
# ./startup
|
||||
# sleep 1
|
||||
# popd > /dev/null
|
||||
# tpm2-abrmd -t socket &
|
||||
}
|
||||
|
||||
# Function to update the hirs-site.config file
|
||||
|
Loading…
Reference in New Issue
Block a user