Ultrix loses time on reboot (with fix)
Bruce Howard
bhoward at funvax.UUCP
Thu Aug 14 14:29:20 AEST 1986
I noticed the same problem with our Ultrix systems. I found
a reasonable solution by invoking the /etc/rdate program in
our /etc/rc.local file. Place:
if [ -f /etc/rdate ]; then
/etc/rdate -sv >/dev/console
into /etc/rc.local. When run with these options, rdate sends
a broadcast message across the ethernetwork, requesting each
host to send back the local time. It then waits about 2 seconds,
taking the average of any replies, and sets the local time to
the average plus 2 seconds. You actually do not need the -v
option -- that merely has rdate print each of the times it
received from the other hosts.
I may have muffed up the details, but this is essentially
what it does. Look in the Ultrix documentation for further
trivia.
Cheers!
Bruce
--
---------------------------------
...decvax!ittatc!funvax!bhoward Bruce Howard @ Fairfield University
...ihnp4!itivax!funvax!bhoward Located in Scenic Fairfield, CT 06430
---------------------------------
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list