Hi Guys,
Just created a EA that checks if there is a Nvidia chipset in System Profiler. So we can install the Nvidia CUDA drivers just on the Mac's with a Nvidia chipset.
#!/bin/sh
# Hogeschool Utrecht, Niels Illem
# 24.09.2014
# Find out if there is an Nvidia Chipset, so we can make a Smart Group which we use to install the CUDA drivers.
# Assuming all NVIDIA videocards used by Apple do have CUDA
# Download CUDA drivers from: http://www.nvidia.com/object/mac-driver-archive.html
NVIDIA=`system_profiler | grep -o 'Chipset Model:[^
]*' | cut -f2- -d':'`
if [[ $NVIDIA == *NVIDIA* ]]; then
echo "<result>Present</result>"
else
echo "<result>Not Present</result>"
fi
exit 0