Added tpm

This commit is contained in:
2025-05-05 20:58:30 +02:00
parent 240918a3a5
commit 95773a27b3
44 changed files with 2126 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
ensure_tpm_path_exists() {
mkdir -p "$(tpm_path)"
}
fail_helper() {
local message="$1"
echo "$message" >&2
FAIL="true"
}
exit_value_helper() {
if [ "$FAIL" == "true" ]; then
exit 1
else
exit 0
fi
}