We are trying to get the Symantec live update script running from the
resource kit. When we run the script through 'unix commands' through ARD it
runs normally. But when we push the script through Casper it bombs out
with...
Preparing Management...
Executing Policy 2010-05-10 at 12:01 PM | jwojda | 1 Computer...
Mounting afp://srshofmacdply01.kih.kmart.com/CasperShare to
/Volumes/CasperShare 1...
Running Script zzrunSAVLiveUpdate.sh...
Script Exit Code:126
Script Result: sh: /private/tmp/zzrunSAVLiveUpdate.sh: /bin/sh
if: bad interpreter: No such file or directory
Unmounting file server...
Enforcing Management Framework...
The Management Framework will be enforced as soon as all Policies are done
executing.
We set the script to Executable, but it won't work on the test boxes. We
also can't run it locally through sudo either.
Script as follows...
#!/bin/sh
if [ -f "/Applications/Symantec
Solutions/LiveUpdate.app/Contents/MacOS/LiveUpdate" ]; then
echo "Running LiveUpdate..."
/Applications/Symantec
Solutions/LiveUpdate.app/Contents/MacOS/LiveUpdate -update LUal
-liveupdatequiet YES -liveupdateautoquit YES
else
echo "Error: Symantec LiveUpdate was not found on this machine."
exit 1
Fi
