diff options
author | Kyle Manna <nitro@gentoo.org> | 2002-07-03 21:03:08 +0000 |
---|---|---|
committer | Kyle Manna <nitro@gentoo.org> | 2002-07-03 21:03:08 +0000 |
commit | c7eca2004c7a0c44aa5d171850475a8996febfcb (patch) | |
tree | 32c1089a38adb7898dfc6fe4ccc8706e7717ef6a /net-misc | |
parent | -r3 fixes some syntax errors in -r2 (diff) | |
download | gentoo-2-c7eca2004c7a0c44aa5d171850475a8996febfcb.tar.gz gentoo-2-c7eca2004c7a0c44aa5d171850475a8996febfcb.tar.bz2 gentoo-2-c7eca2004c7a0c44aa5d171850475a8996febfcb.zip |
added -b switch to ntpdate -- ensures that the clock get set properly when it is off by serveral thousand seconds
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ntp/files/ntpd.rc6 | 4 |
1 files changed, 2 insertions, 2 deletions
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" |