Skip to content

Instantly share code, notes, and snippets.

@chilcote
Created October 24, 2013 17:54
Show Gist options
  • Save chilcote/7141976 to your computer and use it in GitHub Desktop.
Save chilcote/7141976 to your computer and use it in GitHub Desktop.
#disable icloud prompts
osvers_major=$(sw_vers -productVersion | awk -F. '{print $1}')
osvers_minor=$(sw_vers -productVersion | awk -F. '{print $2}')
/usr/bin/defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool true
/usr/bin/defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/com.apple.SetupAssistant GestureMovieSeen none
/usr/bin/defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/com.apple.SetupAssistant LastSeenCloudProductVersion ${osvers_major}.${osvers_minor}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment