diff --git a/software-updates-settings.sh b/software-updates-settings.sh new file mode 100644 index 0000000..b63e164 --- /dev/null +++ b/software-updates-settings.sh @@ -0,0 +1,12 @@ +#!/bin/sh +deplog="/var/tmp/depnotify.log" +echo "Status: Changing Software Update Settings" >> ${deplog} +/usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist AutomaticallyInstallMacOSUpdates -bool false +/usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist AutomaticCheckEnabled -bool true +/usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist AutomaticDownload -bool true +/usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist CriticalUpdateInstall -bool true +/usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist ConfigDataInstall -bool true +/usr/bin/defaults write /Library/Preferences/com.apple.commerce.plist AutoUpdate -bool true +Sleep 2 +echo "Command: DeterminateManualStep: 1" >> ${deplog} +exit 0