-
-
Save sidartaoliveira/48c9c67606cb6d2a93b55a2c979fd5ce to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # enable sofware update automatic | |
| sudo /usr/bin/defaults write /Library/Preferences/com.apple.commerce AutoUpdate -bool TRUE && | |
| sudo /usr/bin/defaults write /Library/Preferences/com.apple.commerce AutoUpdateRestartRequired -bool TRUE && | |
| sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist AutomaticallyInstallMacOSUpdates -bool TRUE && | |
| sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -bool TRUE && | |
| sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool TRUE && | |
| sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool TRUE && | |
| sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool TRUE | |
| AutomaticDownload | |
| # enable firewall (possible values 1 or 2 # TODO - understand the difference betwee 1 and 2) | |
| sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment