skip to main content
Desinstalación del agente Cloud (HFS+)
Para desinstalar Cloud Agent a través de la consola, vaya a la página Equipos, seleccione al menos un equipo y haga clic en Mantenimiento > Desinstalar Cloud Agent.
Para desinstalar el agente Cloud en Mac, cree un archivo con la siguiente secuencia de comandos y ejecútelo como sudo <nombre de archivo>:
 
#!/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