skip to main content
Desinstalando o Cloud Agent (HFS+)
Para desinstalar o Cloud Agent pelo console, acesse a página Computadores, selecione no mínimo um computador e clique em Manutenção > Desinstalar o Cloud Agent.
Para desinstalar o Cloud Agent no Mac, crie um arquivo com o script a seguir e execute-o como sudo <nome do arquivo>:
 
#!/bin/sh
 
# Should be root to run this script
if [ "$EUID" != "0" ]; then
echo "Error: script must be run as root (use sudo)." 1>&2
exit 1
fi
 
# if the user didn't give a volume assume the boot (i.e. root) volume
if [ "$1" = "" ]; then
MCAVOLUME="/"
else
if [ -d "/Volumes/${1}" ]; then
MCAVOLUME="/Volumes/${1}"
else
MCAVOLUME="${1}"
fi
fi
 
if [ -d "${MCAVOLUME}" ]; then
echo "Uninstalling Cloud Agent from \"${MCAVOLUME}\"."
# remove Launchd plists for the daemons
rm -rf "${MCAVOLUME}/Library/LaunchDaemons/com.faronics.cloudagentd.plist"
# remove the actual daemons
rm -rf "${MCAVOLUME}/Library/PrivilegedHelperTools/com.faronics.cloudagentd"
 
# remove bundle file for localization
rm -rf "${MCAVOLUME}/Library/Application Support/Faronics/CloudAgent/CloudAgent.bundle"
 
# remove the receipt
# 10.6 or higher remove the receipt data from the database
pkgutil --forget "com.faronics.pkg.CloudAgent" --volume "${MCAVOLUME}"
# remove preferences
rm -rf "${MCAVOLUME}/Library/Preferences/com.faronics.cloudagent.plist"
echo "Uninstall Cloud Agent complete."
else
echo "Could not find volume \"${MCAVOLUME}\"."
fi