Created
February 11, 2016 00:09
-
-
Save matthewbodaly/947a2db5dccc2aa730fc to your computer and use it in GitHub Desktop.
Needed to uninstall a JDS and didn't feel like typing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
probably dont need the reboot... or i could reboot now.....