Update file run_onchange_after_10-configure-macos.tmpl

This commit is contained in:
Brian Zalewski 2023-01-25 10:36:43 +00:00
parent 3d094ccd58
commit 642c7f965b

View file

@ -9,6 +9,9 @@ logg info 'Applying optimized macOS settings'
logg info 'A sudo password is required to apply some of the macOS optimizations.' logg info 'A sudo password is required to apply some of the macOS optimizations.'
sudo echo "Sudo access granted." sudo echo "Sudo access granted."
# Log commands
set +x
# Close any open System Preferences panes, to prevent them from overriding # Close any open System Preferences panes, to prevent them from overriding
# settings were about to change # settings were about to change
osascript -e 'tell application "System Preferences" to quit' osascript -e 'tell application "System Preferences" to quit'