Changed /private/tmp to /var/tmp due to issues experienced with the former returning older versions of the file if recently updated (why? no idea) which could cause the OS Compatibility Check to fail.
Also added in a validation check to make sure we have a model name. This wasn't directly an issue but it could potentially be so adding it in for completeness.
Each script has been tested (N=1).
Additionally macOSCompatibilityCheck-EA.sh has been tested in a Jamf Pro environment where the issue was first noticed
Changed
/private/tmp
to/var/tmp
due to issues experienced with the former returning older versions of the file if recently updated (why? no idea) which could cause the OS Compatibility Check to fail.Also added in a validation check to make sure we have a model name. This wasn't directly an issue but it could potentially be so adding it in for completeness.
Each script has been tested (N=1).
Additionally
macOSCompatibilityCheck-EA.sh
has been tested in a Jamf Pro environment where the issue was first noticed