--- ntpd 2003-07-01 12:19:46.000000000 -0500 +++ /shared/ntpd-tickadj 2003-07-06 17:26:12.000000000 -0500 @@ -20,6 +20,10 @@ start() { checkconfig || return $? + if [ -f /etc/ntp/tickadj.conf ] ; then + /usr/bin/tickadj `cat /etc/ntp/tickadj.conf` + fi + if [ -n "${NTPDATE_CMD}" ] ; then ebegin "Initializing clock via ${NTPDATE_CMD}" ${NTPDATE_CMD} ${NTPDATE_OPTS} > /dev/null @@ -35,6 +39,7 @@ } stop() { + /usr/bin/tickadj | sed -e "s/tick\ =\ //g" >/etc/ntp/tickadj.conf ebegin "Stopping ntpd" start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid eend $? "Failed to stop ntpd"