adjkerntz.8 (4093) | adjkerntz.8 (4107) |
---|---|
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 | 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 | 56makes the adjustment of kernel clock (CMOS clock not touched) 57and the initial time zone offset is stored into |
57.Pa adjkerntz 58kernel variable 59for following subsequent | 58.Pa adjkerntz 59kernel variable 60for following subsequent |
60.Nm adjkerntz 61calls. | 61.Nm "'adjkerntz -a'" 62calls. Then it goes to background pause which ends with SIGTERM. 63After receiving SIGTERM it acts like 64.Nm "'adjkerntz -a'" 65to be shure to have proper CMOS clock before reboot. |
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 | 66.It Cm Fl a 67This form is needed, when time zone changes occur. 68.Nm Adjkerntz 69uses the previously stored 70time zone offset and the changed time zone rule to |
67produce the new time zone offset, fix the RTC clock and store the new | 71produce the new time zone offset, fix the CMOS clock 72(kernel clock not touched) 73and 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. | 74offset into 75.Pa adjkerntz 76kernel variable 77too. 78It is recommended to use this form in root's 79.Xr crontab 5 80every half of a hour from 0am to 4am 81since this times matches most modern time zone changes. |
82.El |
|
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 --- | 83.Pp 84.Nm Adjkerntz 85clears the kernel timezone structure and makes kernel always run at UTC 86time zone. 87Super-user privilege is required for all operations. 88.Sh ENVIRONMENT 89.Bl -tag -width Fl 90.It Ev TZ --- 39 unchanged lines hidden --- |