Deploying Sophos SafeGuard version 7.x. I was able to grab this EA and upload it to the JSS, but it's for version 5x.
I thought I figured it out when I saw that Sophos has renamed the sgadmin to sgdeadmin in version 7, and I just updated that in the script, but I still get an empty returned EA result when I run recon:
#!/bin/sh
#This script has been verified to work on Sophos SafeGuard (v 05.49.00).
#Check to see if SafeGuard is installed
if [ -f "/usr/bin/sgdeadmin" ]; then
result=`/usr/bin/sgdeadmin --status | grep -A 3 "Volume info" | grep "| 0" | awk 'BEGIN { FS = "|" } ; {print $6}' | awk '{print $1}'`
echo "<result>$result</result>"
else
echo "<result>Not installed</result>"
fi
Thanks in advance, John
