Created
December 18, 2012 19:23
-
-
Save bryanstearns/4331076 to your computer and use it in GitHub Desktop.
I put this in my basebox postinstall scripts to help NTP deal with large time differences
This file contains hidden or 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
# Make sure ntpd doesn't give up if the time is way off | |
cp /etc/ntp.conf /etc/ntp.conf.old | |
(echo tinker panic 0; cat /etc/ntp.conf.old) >/etc/ntp.conf | |
/etc/init.d/ntp restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment