2020-10-23 17:59:08 +03:00
|
|
|
#!/bin/bash -e -o pipefail
|
2023-11-28 02:25:03 +01:00
|
|
|
################################################################################
|
|
|
|
|
## File: configure-auto-updates.sh
|
|
|
|
|
## Desc: Disabling automatic updates
|
|
|
|
|
################################################################################
|
2020-09-10 14:34:08 +03:00
|
|
|
|
|
|
|
|
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
|
2023-11-28 02:25:03 +01:00
|
|
|
defaults write com.apple.SoftwareUpdate AutomaticCheckEnabled -bool false
|