[4222] in Athena Bugs
rc/rc.conf: timed startup
daemon@ATHENA.MIT.EDU (Richard Basch)
Wed Feb 14 09:52:28 1990
Date: Wed, 14 Feb 90 09:52:07 -0500
To: bugs@ATHENA.MIT.EDU
Cc: probe@ATHENA.MIT.EDU
From: Richard Basch <probe@MIT.EDU>
We should have two variables:
TIMESRV
TIMECLIENT
It is not sufficient to say that you should be a timed client if you are
not a server. On the current timed masters, we have TIMESRV set to
false because we need to start up xntpd first and verify that the
compliance and drift is reasonable before enabling it as a timed master.
If we say it is a timed client, the compliance is shot to hell for a
while.
Currently, I would say that the timed masters probably don't use TIMESRV
and we could optionally remove that variable, but at some later time, we
may wish to use it. So, I think we should really only be judging if it
is supposed to run as a timed slave.
Proposed change to the structure of the if clause in /etc/rc:
if [ "${TIMESRV}" = "true" ]; then
/etc/timed -M
elif [ "${TIMECLIENT}" = "true" ]; then
/etc/timed
fi
(with the appropriate & and echo statements, as they presently exist).
-Richard