Any chance someone has already done the work to write an EA that can detect if a system has a recovery partition?
Solved
EA for checking for recovery partition?
Best answer by hkabik
There's "Recovery HD Present" in the EA templates in the JSS.
Provides a simple "Present/Not Present" result.
#!/bin/sh
recoveryHDPresent=`/usr/sbin/diskutil list | grep "Recovery HD" | grep disk0`
if [ "$recoveryHDPresent" != "" ]; then
echo "<result>Present</result>"
else
echo "<result>Not Present</result>"
fiEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
