#!/bin/bash -e -o pipefail ################################################################################ ## File: configure-auto-updates.sh ## Desc: Disabling automatic updates ################################################################################ sudo softwareupdate --schedule off defaults write com.apple.SoftwareUpdate AutomaticDownload -int 0 defaults write com.apple.SoftwareUpdate CriticalUpdateInstall -int 0 defaults write com.apple.commerce AutoUpdate -bool false defaults write com.apple.SoftwareUpdate AutomaticCheckEnabled -bool false