Created
September 15, 2014 17:51
-
-
Save flammable/d4bf7d873421d35ed560 to your computer and use it in GitHub Desktop.
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/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