summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/rdate/rdate.820
1 files changed, 5 insertions, 15 deletions
diff --git a/usr.sbin/rdate/rdate.8 b/usr.sbin/rdate/rdate.8
index 18189702f08..7d624d5df67 100644
--- a/usr.sbin/rdate/rdate.8
+++ b/usr.sbin/rdate/rdate.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rdate.8,v 1.32 2011/07/08 07:00:30 jmc Exp $
+.\" $OpenBSD: rdate.8,v 1.33 2011/07/24 15:40:06 deraadt Exp $
.\" $NetBSD: rdate.8,v 1.4 1996/04/08 20:55:17 jtc Exp $
.\"
.\" Copyright (c) 1994 Christos Zoulas
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 8 2011 $
+.Dd $Mdocdate: July 24 2011 $
.Dt RDATE 8
.Os
.Sh NAME
@@ -68,12 +68,8 @@ call to gradually skew the local time to the
remote time rather than just hopping.
.It Fl c
Correct leap seconds.
-Sometimes required when synchronizing to an NTP server.
-When synchronizing using the RFC 868 protocol, use this option only if the
-server does not correctly account for leap seconds.
-You can determine if you need this parameter if you sync against an NTP
-server (with this parameter) or (recommended) check with a local radio
-controlled watch or phone service.
+This should be used only when syncronizing to a server
+which does not correctly account for leap seconds.
.It Fl n
Use SNTP (RFC 2030) instead of the RFC 868 time protocol.
.It Fl p
@@ -96,18 +92,12 @@ symlink to
.Pa /usr/share/zoneinfo/right/Europe/Berlin
and issue the following command:
.Pp
-.D1 Li "# rdate -ncv ptbtime1.ptb.de"
+.D1 Li "# rdate -nv ptbtime1.ptb.de"
.Pp
The command of course assumes you have a working internet connection
and DNS set up to connect to the server at
.Sy Physikalisch-Technische Bundesanstalt
in Braunschweig, Germany.
-.Pp
-To gradually adjust time once an hour after the first
-.Qq step
-adjustment, put the following line into root's crontab:
-.Pp
-.D1 Li "58 * * * * rdate -ncav ptbtime1.ptb.de | logger -t NTP"
.Sh SEE ALSO
.Xr date 1 ,
.Xr adjtime 2 ,