Skip to content

Instantly share code, notes, and snippets.

@matthewbodaly
Created February 11, 2016 00:09
Show Gist options
  • Save matthewbodaly/947a2db5dccc2aa730fc to your computer and use it in GitHub Desktop.
Save matthewbodaly/947a2db5dccc2aa730fc to your computer and use it in GitHub Desktop.
Needed to uninstall a JDS and didn't feel like typing
#!/bin/sh
launchctl unload /Library/LaunchDaemons/com.jamfsoftware.jamfdspolicy.plist
cp /Library/JDS/conf/.0000_any_443_.conf /Library/Server/Web/Config/apache2/sites/0000_any_443_.conf
rm -r /Library/JDS
rm /Library/LaunchDaemons/com.jamfsoftware.jamfdspolicy.plist
rm /usr/sbin/jamfds
osascript -e 'tell application "System Events" to log out'
pause 90
killall loginwindow
reboot
@matthewbodaly
Copy link
Author

probably dont need the reboot... or i could reboot now.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment