Created
September 29, 2014 17:37
-
-
Save mattantonelli/1c760923f44ae038deac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root!" | |
exit 1 | |
fi | |
echo "Syncing with NTP server" | |
ntpdate north-america.pool.ntp.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment