diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-04-05 23:53:23 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-04-05 23:53:23 +0000 |
commit | bf152145d268e7fa09f253492eece08436d53e41 (patch) | |
tree | 8b75aad0cb530ebec2ed2fffadf73e79c2282952 /sbin/adjkerntz | |
parent | bacbb38233cfe74cd2438ef4107902892f58b730 (diff) | |
download | src-test2-bf152145d268e7fa09f253492eece08436d53e41.tar.gz src-test2-bf152145d268e7fa09f253492eece08436d53e41.zip |
Notes
Diffstat (limited to 'sbin/adjkerntz')
-rw-r--r-- | sbin/adjkerntz/adjkerntz.8 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sbin/adjkerntz/adjkerntz.8 b/sbin/adjkerntz/adjkerntz.8 index 0c60fc4afbd6..948dd40b04d0 100644 --- a/sbin/adjkerntz/adjkerntz.8 +++ b/sbin/adjkerntz/adjkerntz.8 @@ -46,6 +46,10 @@ If the file exists, it means that CMOS clock keep local time (MS-DOS and MS-Windows compatible mode), if that file does not exist it means that CMOS clock keep UTC time. +.Nm Adjkerntz +passes this state to +.Pa machdep.wall_cmos_clock +kernel variable. .Pp Adjustments may be needed at system startup and shutdown, and whenever a time zone change occurs. @@ -58,19 +62,19 @@ This form handles system startups and shutdowns. .Nm Adjkerntz is invoked with this option from .Pa /etc/rc -before any other daemons have been started. +on entry to multi-user mode, before any other daemons have been started. .Nm Adjkerntz puts itself into the background. Then for wall CMOS clock .Nm adjkerntz -reads the local time from the it +reads the local time from it and sets the kernel clock to the corresponding UTC time. .Nm Adjkerntz also stores the local time zone offset into the .Pa machdep.adjkerntz kernel variable, for use by subsequent invocations of .Nm "'adjkerntz -a'" -and local time file systems. +and by local time file systems. .Pp For wall CMOS clock .Nm "'adjkerntz -i'" @@ -102,7 +106,7 @@ It stores the new offset into the kernel variable, and updates the wall CMOS clock to the new local time. If .Nm "'adjkerntz -a'" -starts at nonexisten time (inside timezone change), it exits +was started at nonexisten time (inside timezone change), it exits with warning diagnostic unless .Fl s option is used, in this case |