[ILUG] xntpd on RH 6.2

Philip Reynolds phil at redbrick.dcu.ie
Thu May 25 19:24:07 IST 2000


John P. Looney (Kate)'s [jplooney-ilug at online.ie] 30 lines of dribble included:
:> Just noticed that in the xntpd startup script, it has:
:>
:>case "$1" in
:>  start)
:>    # Adjust time to make life easy for xntpd
:>    if [ -f /etc/ntp/step-tickers ]; then
:>        echo -n "Syncing time for xntpd. "
:>        /usr/sbin/ntpdate -s -b -p 8 -u `cat /etc/ntp/step-tickers`
:>    fi
:>        # Start daemons.
:>        echo -n "Starting xntpd: "
:>        daemon xntpd -A
:>    RETVAL=$?
:>        echo
:>        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/xntpd
:>        ;;
:>
:> Any idea what I have to put into step-tickers to get it to work ? I
:>*think* it's just an NTP server but...
:>

ntpdate takes ntp servers as it arguments
1 or more. Just basically stick in your list of ntp servers separated by a
space.

-- 
Philip Reynolds                | Errors have occurred..
Redbrick Systems Administrator | We won't tell you where or why.
phil at redbrick.dcu.ie           | Lazy Programmers.




More information about the ILUG mailing list