Created
July 13, 2016 17:33
-
-
Save miharp/5160e1b5caa2341b7b81ed01a8ae2aca 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
cmdall "sed -i 's/^#server 127.127.1.0/server 127.127.1.0\# local clock (LCL)/g' /etc/ntp.conf" | |
cmdall "sed -i 's/^#fudge 127.127.1.0 stratum 10/fudge 127.127.1.0 stratum 10 # LCL is unsynchronized/g' /etc/ntp.conf" | |
cmdall "/etc/init.d/ntp restart" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment