echo xntpd_enable=\"YES\" >> /etc/rc.conf echo xntpd_program=\"/usr/sbin/ntpd\" >> /etc/rc.conf echo xntpd_flags=\"-p /var/run/ntpd.pid\" >> /etc/rc.conf ntpdate time.nist.gov ntpdate time.nist.gov mkdir /etc/ntp touch /etc/ntp/drift touch /etc/ntp.conf echo server time.nist.gov >> /etc/ntp.conf echo driftfile /etc/ntp/drift >> /etc/ntp.conf /etc/rc.d/ntpd start
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
How to setup NTP on BSD (See related posts)
Comments on this post
You need to create an account or log in to post comments to this site.
Related Posts
» date time in ruby in ruby time date
» TimeDate format in Oracle - ... in time date oracle format
» Selecting different parts of... in time date sql timestamp mssql language query transact structured datetime parts part stamp only sub
» Local time/date in date
» Measure the daily number of ... in email date perl shell bash mime day mailbox
» Calculate Thanksgiving Date in php date calculate thanksgiving holiday timestamp strtotime
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
Here's a more detailed list of the time servers.
http://ntp.isc.org/bin/view/Servers/NTPPoolServers