Skip to content

Instantly share code, notes, and snippets.

@steve-taylor
Created February 27, 2013 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steve-taylor/5048900 to your computer and use it in GitHub Desktop.
Save steve-taylor/5048900 to your computer and use it in GitHub Desktop.
Set server time to Adelaide, Australia. Change as needed for your required timezone.
#!/bin/sh
# Set time to Adelaide.
echo "ZONE=\"Australia/Adelaide\"" > /etc/sysconfig/clock
/bin/cp /usr/share/zoneinfo/Australia/Adelaide /etc/localtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment