Created
June 16, 2014 22:49
-
-
Save ryenus/6afc18907d30b7f0d175 to your computer and use it in GitHub Desktop.
synchronize system clock
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
#!/bin/sh | |
fixclock() { | |
ntpdate pool.ntp.org && hwclock --systohc && hwclock --adjust | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment