diff options
author | ache <ache@FreeBSD.org> | 1994-11-03 03:16:16 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-03 03:16:16 +0000 |
commit | a3d03a23fcad822c3d64b7ea33797a5c80d8f19f (patch) | |
tree | ee3b33c6a00092caa7f33fccfd1eaebe47f1c82b /sbin/adjkerntz/adjkerntz.8 | |
parent | 807094f81b96ca85a49aafd4bfd9f992510c6c8c (diff) | |
download | FreeBSD-src-a3d03a23fcad822c3d64b7ea33797a5c80d8f19f.zip FreeBSD-src-a3d03a23fcad822c3d64b7ea33797a5c80d8f19f.tar.gz |
-i case goes to background pause and acts like -a case on receiving
SIGTERM. This helps to keep CMOS clock updated before reboot.
Idea from J.Wunsch.
Diffstat (limited to 'sbin/adjkerntz/adjkerntz.8')
-rw-r--r-- | sbin/adjkerntz/adjkerntz.8 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sbin/adjkerntz/adjkerntz.8 b/sbin/adjkerntz/adjkerntz.8 index 086f12a..9cb5c8d 100644 --- a/sbin/adjkerntz/adjkerntz.8 +++ b/sbin/adjkerntz/adjkerntz.8 @@ -53,18 +53,24 @@ initialization call from .Pa /etc/rc (before any daemons are started). .Nm Adjkerntz -makes the first adjustment and the initial time zone offset is stored into +makes the adjustment of kernel clock (CMOS clock not touched) +and the initial time zone offset is stored into .Pa adjkerntz kernel variable for following subsequent -.Nm adjkerntz -calls. +.Nm "'adjkerntz -a'" +calls. Then it goes to background pause which ends with SIGTERM. +After receiving SIGTERM it acts like +.Nm "'adjkerntz -a'" +to be shure to have proper CMOS clock before reboot. .It Cm Fl a This form is needed, when time zone changes occur. .Nm Adjkerntz uses the previously stored time zone offset and the changed time zone rule to -produce the new time zone offset, fix the RTC clock and store the new +produce the new time zone offset, fix the CMOS clock +(kernel clock not touched) +and store the new offset into .Pa adjkerntz kernel variable @@ -73,6 +79,7 @@ It is recommended to use this form in root's .Xr crontab 5 every half of a hour from 0am to 4am since this times matches most modern time zone changes. +.El .Pp .Nm Adjkerntz clears the kernel timezone structure and makes kernel always run at UTC |