Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Bomber JC Scripts for Muni
# Attach the Cached DMG from the Waiting Room
hdiutil attach -nobrowse -noverify /tmp/bomgar-scc-w0hdc308ewf5jf6z6eg7d8ewg5gx87yiizxxxwwc40jc90.dmg
# Install the client from the standard mount location for the bomgar-scc client installer.
/Volumes/bomgar-scc/Double-Click\ To\ Start\ Support\;
# If you want to run the hdiutil detach, add a wait command so that it finishes installing first
# wait 60
# hdiutil detach /Volumes/bomgar-scc
if ls /Library/LaunchAgents/com.bomgar.bomgar-scc* 1> /dev/null 2&gt;&amp;1
kill $(ps aux | grep 'bomgar' | grep -v grep | awk '{print $2}')
launchctl unload /Library/LaunchAgents/com.bomgar.bomgar-scc*
rm -rf /Users/Shared/bomgar-scc*
rm -rf /Library/LaunchAgents/com.bomgar.bomgar-scc*
rm -rf /Library/LaunchDaemons/com.bomgar.bomgar-ps*
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.