Deleted Added
full compact
1.\" Copyright (C) 1993 by Andrew A. Chernov, Moscow, Russia.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 39 unchanged lines hidden (view full) ---

48.Nm adjkerntz
49can be called in two forms:
50.Bl -tag -width 4n
51.It Cm Fl i
52initialization call from
53.Pa /etc/rc
54(before any daemons are started).
55.Nm Adjkerntz
56makes the first adjustment and the initial time zone offset is stored into
57.Pa adjkerntz
58kernel variable
59for following subsequent
60.Nm adjkerntz
61calls.
62.It Cm Fl a
63This form is needed, when time zone changes occur.
64.Nm Adjkerntz
65uses the previously stored
66time zone offset and the changed time zone rule to
67produce the new time zone offset, fix the RTC clock and store the new
68offset into
69.Pa adjkerntz
70kernel variable
71too.
72It is recommended to use this form in root's
73.Xr crontab 5
74every half of a hour from 0am to 4am
75since this times matches most modern time zone changes.
76.Pp
77.Nm Adjkerntz
78clears the kernel timezone structure and makes kernel always run at UTC
79time zone.
80Super-user privilege is required for all operations.
81.Sh ENVIRONMENT
82.Bl -tag -width Fl
83.It Ev TZ

--- 39 unchanged lines hidden ---