I am struggling to use this EA to determine if there is an iLock on the computer. I can run a command similar to this in ARD but that does not help me as I want to create a Smart Group scoped to iLocks installed.
Solved
Has anyone used the EA to List iLock Serial?
Best answer by neilmartin83
We're using this, which returns 'No iLok Connected' if there isn't one, working on OS X 10.10.5 (running Pro Tools 11 which is keeping us from going up to newer OS's):
#!/bin/sh
## Script to detect and enumerate attached iLok Serial
SERIAL=`system_profiler SPUSBDataType | grep -B 5 -i ': iLok' | grep 'Serial' | cut -f 2 -d ":" | sed -e "s/ //"`
if [[ "$SERIAL" == "" ]]
then
echo '<result>'No iLok Connected'</result>'
else
echo '<result>'$SERIAL'</result>'
fiEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
