Skip to content

Instantly share code, notes, and snippets.

View nuna-alan's full-sized avatar

Al Berman nuna-alan

  • Nuna
  • SF Bay Area
View GitHub Profile
@nuna-alan
nuna-alan / awagentuninstaller.sh
Created September 25, 2017 19:34
Bash script to remove VMWare Airwatch Agent for macOS
#!/bin/sh
[[ $EUID == 0 ]] || { echo "Must be run as root."; exit; }
PKGNAME=AgentUninstaller
LOG=/tmp/$PKGNAME.log
touch $LOG
chmod a+rw $LOG
DAEMON_PLIST="/Library/LaunchDaemons/com.airwatch.airwatchd.plist"