diff --git a/deploy.sh b/deploy.sh index 3d40ede..6e75242 100644 --- a/deploy.sh +++ b/deploy.sh @@ -182,7 +182,7 @@ ls /dev/serial/by-id/ 2>/dev/null | grep -i "zigbee" && TARGET_ZIGBEE_DEVICE=\$( TARGET_INTERFACE=\$(ip -4 route show default | awk '{print \$5}' | head -n1) -if ls -l /sys/class/tpm/tpm0/; +if ls -l /sys/class/tpm/tpm0/; then TARGET_TPM="true" TARGET_TPM_VERSION=\$(cat /sys/class/tpm/tpm0/tpm_version_major) else