Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!GARNET.BERKELEY.EDU!rusty From: rusty@GARNET.BERKELEY.EDU (rusty wright) Newsgroups: comp.protocols.time.ntp Subject: ntpd startup option Message-ID: <9010191718.AA20276@garnet.berkeley.edu> Date: 19 Oct 90 17:18:58 GMT References: <1990Oct18.185509@scotty.dccs.upenn.edu> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 32 Let's have a contest for the most hairy scripts that start ntp! I use xntpd, tickadj, and ntpdate. Here's my script: #! /bin/sh NTPDIR=/usr/local/etc if test -f ${NTPDIR}/tickadj then ${NTPDIR}/tickadj -A -q (echo -n ' tickadj') fi if test -f ${NTPDIR}/ntpdate then ${NTPDIR}/ntpdate -bs \ tuna.berkeley.edu \ anchovy.berkeley.edu \ belch.berkeley.edu \ sardine.berkeley.edu \ shark.berkeley.edu \ sigh.berkeley.edu \ grunt.berkeley.edu \ smelt.berkeley.edu (echo -n ' ntpdate') fi if test -f ${NTPDIR}/xntpd -a -f ${NTPDIR}/xntp.conf then ${NTPDIR}/xntpd -c ${NTPDIR}/xntp.conf (echo -n ' xntpd') fi