Created
May 12, 2016 22:50
-
-
Save ejhayes/4c73a6175134aec3d8dcaa3c73f868fe to your computer and use it in GitHub Desktop.
NTP fix and update clock
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
#!/bin/bash | |
sudo apt-get install ntp -y | |
sudo service ntp stop | |
sudo ntpdate -s time.nist.gov | |
sudo service ntp start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment