Hello,
Looks like /etc/ntp/step-tickers is not from the original ntp package and is
used in several distributions as an additional file/setting. Is it necessary to
hold that in DL if we can make preliminary synchronization just from /etc/ntp.conf ?
Please advice,
--
Serge
--- xntpd 25 Jul 2005 17:16:58 -0000 1.6
+++ xntpd 13 Jan 2009 01:06:41 -0000
@@ -50,7 +50,7 @@
echo -n "Synchronizing with time server: "
loadproc /usr/bin/ntpdate -s -b -p 8 -u \
- `sed -e 's/#.*//' /etc/ntp/step-tickers`
+ $(grep server /etc/ntp.conf | grep -v "^#\|^$\|127\." | awk '{ print $2 }')
fi
if [ -f /etc/sysconfig/jail/$PACKAGE_NAME ] && [ "$JAIL_ENABLE" == yes ]; then
/etc/init.d/jail start $PACKAGE_NAME
|