Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
# enable our Mac SUS
defaults write /Library/Preferences/ManagedInstalls InstallAppleSoftwareUpdates -bool True
defaults write /Library/Preferences/ManagedInstalls SoftwareUpdateServerURL "http://sus.org/index_release.sucatalog"
# set our SUS for App Store updates, but disable update checking
defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://sus.org/index_release.sucatalog
softwareupdate --schedule off
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment