Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save soundsnw/712da6746d685d2f27bbb22f09e77e46 to your computer and use it in GitHub Desktop.
Save soundsnw/712da6746d685d2f27bbb22f09e77e46 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Set time zone and enable network time server
sudo /usr/sbin/systemsetup -setusingnetworktime off
sudo /usr/sbin/systemsetup -settimezone "Europe/London"
sudo /usr/sbin/systemsetup -setnetworktimeserver time.euro.apple.com
sudo /usr/sbin/systemsetup -setusingnetworktime on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment