Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Turn off Wi-fi -> man airportd || /Library/Preferences/SystemConfiguration/preferences.plist
- /usr/sbin/networksetup -setairportpower airport off
- /usr/libexec/airportd en1 prefs RequireAdminIBSS=YES RequireAdminNetworkChange=YES RequireAdminPowerToggle=YES
- # Turn off Apple Software Update
- /usr/sbin/softwareupdate --schedule off
- # Login Window
- /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow SHOWFULLNAME -bool true
- /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow showInputMenu -bool true
- # Setup Munki -> https://code.google.com/p/munki/wiki/configuration
- # Note: Will be overriden by configuration profile
- /usr/bin/defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://munki.ucebny"
- /usr/bin/defaults write /Library/Preferences/ManagedInstalls ClientIdentifier applelab_production
- /usr/bin/defaults write /Library/Preferences/ManagedInstalls SuppressUserNotification true
- /usr/bin/defaults write /Library/Preferences/ManagedInstalls InstallRequiresLogout true
- /usr/bin/defaults write /Library/Preferences/ManagedInstalls SuppressStopButtonOnInstall true
- /usr/bin/defaults write /Library/Preferences/ManagedInstalls InstallAppleSoftwareUpdates true
- # Will be done with profiles (Profile manager)
- #/usr/bin/defaults write /Library/Preferences/ManagedInstalls SoftwareUpdateServerURL "http://reposado.ucebny/content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1_testing.sucatalog"
- # Activate check at next startup -> https://code.google.com/p/munki/wiki/BootstrappingWithMunki
- /usr/bin/touch /Users/Shared/.com.googlecode.munki.checkandinstallatstartup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement