From c7eca2004c7a0c44aa5d171850475a8996febfcb Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Wed, 3 Jul 2002 21:03:08 +0000 Subject: added -b switch to ntpdate -- ensures that the clock get set properly when it is off by serveral thousand seconds --- net-misc/ntp/files/ntpd.rc6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-misc') diff --git a/net-misc/ntp/files/ntpd.rc6 b/net-misc/ntp/files/ntpd.rc6 index 6d7d4f74577a..5ed681cc90d4 100644 --- a/net-misc/ntp/files/ntpd.rc6 +++ b/net-misc/ntp/files/ntpd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc6,v 1.4 2002/05/04 05:03:14 jnelson Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.rc6,v 1.5 2002/07/03 21:03:08 nitro Exp $ #NB: Config is in /etc/conf.d/ntpd @@ -30,7 +30,7 @@ start() { if [ -n "${NTPDATESERVER}" ] then ebegin "Running ntpdate" - ntpdate ${NTPDATESERVER} > /dev/null + ntpdate -b ${NTPDATESERVER} > /dev/null eend $? "Failed to run ntpdate" fi ebegin "Starting ntpd" -- cgit v1.2.3-65-gdbad