#! /bin/sh test -f /usr/sbin/ntpdate || exit 0 # Instructions: # update the line below that calls ntpdate to include a list of IP # addresses of NTP servers you wish to query to learn the time to set # the local clock to. Then, comment out the next two lines that contain # the echo and the exit. #echo "You must customize /etc/init.d/ntpdate before ntpdate can be run." #exit 0 case "$1" in start( echo -n "Running ntpdate to synchronize clock" /usr/sbin/ntpdate -b -s 213.171.221.57 echo "." ;; stop|restart|force-reload) ;; *) echo "Usage: /etc/init.d/ntpdate {start|stop|restart|force-reload}" exit 1 esac exit 0