1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Fix var rpi_model so Parallels doesn't set it to "Parallels ARM Virtual Machine" (from /proc/device-tree/model)

This commit is contained in:
A Holt 2021-11-26 14:38:15 -05:00 committed by GitHub
parent 5f6eb6d16b
commit ae6a4b1f3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ tmp=$(git rev-parse --verify HEAD) &&
#tmp=$(cat /proc/device-tree/mfg-data/MN) &&
# XO_MODEL=$tmp
tmp=$(cat /proc/device-tree/model) &&
tmp=$(grep -ai raspberry /proc/device-tree/model) &&
RPI_MODEL=$tmp
tmp=$(ansible --version) &&