#!/bin/sh # Stop time warp messages touch /var/timestamp # Set the time to time server with appropriate timezone offset /tvbin/settime `rtimetz 207.126.98.204 207.126.98.204 129.6.15.28 131.107.1.10` & # Now set hardware clock /tvbin/settime -rtc & # A list of public time servers in case the ones above stops working: #time-a.nist.gov 129.6.15.28 NIST, Gaithersburg, Maryland #time-b.nist.gov 129.6.15.29 NIST, Gaithersburg, Maryland #time-a.timefreq.bldrdoc.gov 132.163.4.101 NIST, Boulder, Colorado #time-b.timefreq.bldrdoc.gov 132.163.4.102 NIST, Boulder, Colorado #time-c.timefreq.bldrdoc.gov 132.163.4.103 NIST, Boulder, Colorado #utcnist.colorado.edu 128.138.140.44 University of Colorado, Boulder #time.nist.gov 192.43.244.18 NCAR, Boulder, Colorado #time-nw.nist.gov 131.107.1.10 Microsoft, Redmond, Washington #nist1.datum.com 66.243.43.21 Datum, San Jose, California #nist1-dc.glassey.com 216.200.93.8 Abovenet, Virginia #nist1-ny.glassey.com 208.184.49.9 Abovenet, New York City #nist1-sj.glassey.com 207.126.98.204 Abovenet, San Jose, California #nist1.aol-ca.truetime.com 207.200.81.113 TrueTime, AOL facility, Sunnyvale, California #nist1.aol-va.truetime.com 205.188.185.33 TrueTime, AOL facility, Virginia # Not a good place to run this, but it might be necessary. #checkgsstate.sh & exit 0