Commit Graph

24 Commits

Author SHA1 Message Date
charnier
2e78576848 Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include. 1998-06-04 06:35:12 +00:00
ache
a82f906952 Implement Helbig idea of offset calculation reducing mktime() calls
Immediately exit if /etc/wall_cmos_clock not present
1998-04-11 21:18:55 +00:00
ache
add2782c4e Add workaround suggestion for 'nonexistent time' diagnostic 1998-03-30 09:29:47 +00:00
ache
0398ae2bf7 Minimize clock drift between getting and setting time
Submitted by: bde
1998-02-25 09:40:21 +00:00
charnier
7be0d348a8 Add Id, add usage function. 1997-06-10 11:01:13 +00:00
imp
167db52912 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00
ache
fec10bb459 Detect if /etc/wall_cmos_clock gone while adjkerntz paused. 1996-04-05 19:17:05 +00:00
ache
8d7c1b3d2a Dynamically sense /etc/wall_cmos_clock presence/absense 1996-04-05 16:25:38 +00:00
ache
4fc02548e5 Fix error with multiply 'adjkerntz -a' copies running.
Manage adjkerntz kernel variable even for UTC clocks.
Code cleanup.
1996-04-05 03:40:55 +00:00
rgrimes
f3a2b348da Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
ache
e6a1b97276 Use more AI to predict initial/final isdst,
latest isdst  preffered.
1995-03-26 22:51:51 +00:00
ache
6476aa24f1 Use timelocal() instead of mktime() hack 1994-12-26 10:43:48 +00:00
ache
7e73ded5b5 Fix resetting adjkerntz to 0 (pointed by Bruce),
forget to initialize mib variable.
1994-12-12 05:48:45 +00:00
ache
1ff1e1698a Optimize setting of DISRTCSET 1994-12-12 05:43:28 +00:00
ache
14cf84efe4 Clean internal logic, helps for some unusual cases 1994-12-12 05:20:44 +00:00
ache
a3d03a23fc -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.
1994-11-03 03:16:16 +00:00
ache
fdf434f26c Restore back -i, -a 1994-11-02 09:40:06 +00:00
ache
30655c5010 Remove options, run adjkerntz as daemon now 1994-11-01 16:22:22 +00:00
ache
d6c1596a63 Now:
adjkerntz -i writes kernel clock only, don't touch RTC clock
adjkerntz -a writes RTC clock only, don't touch kernel clock
1994-11-01 06:20:52 +00:00
ache
ff7b200770 Modify adjkerntz to not write RTC clock per initial call,
suggested by Bruce
1994-10-04 19:15:13 +00:00
ache
3eb6939663 rewritted to use sysctl, no more /var/run/.adjkerntz now 1994-09-19 23:09:34 +00:00
ache
1cb41ef19c Cosmetique patch from bde 1994-02-05 11:42:48 +00:00
ache
0945afb843 Fix sign of offset diff.
Use Bruce initial/final hour scheme to avoid critical hours.
1993-12-20 01:53:27 +00:00
ache
788c91c4db Attempt to import adjkerntz... 1993-12-16 18:44:40 +00:00