8 lines
342 B
Bash
8 lines
342 B
Bash
#!/bin/bash
|
|||
|
|
|
||
|
|
# 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
|