summaryrefslogtreecommitdiffstats
path: root/sbin/adjkerntz/adjkerntz.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-5/+4
|
* o Use real prototypesimp2002-03-181-8/+6
| | | | | o Remove __P. o main(int, char *[])
* Fix a prototype and set WARNS=2.dd2001-07-151-1/+8
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include.charnier1998-06-041-4/+6
|
* Implement Helbig idea of offset calculation reducing mktime() callsache1998-04-111-22/+22
| | | | Immediately exit if /etc/wall_cmos_clock not present
* Add workaround suggestion for 'nonexistent time' diagnosticache1998-03-301-3/+3
|
* Minimize clock drift between getting and setting timeache1998-02-251-9/+26
| | | | Submitted by: bde
* Add Id, add usage function.charnier1997-06-101-8/+19
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Detect if /etc/wall_cmos_clock gone while adjkerntz paused.ache1996-04-051-1/+6
|
* Dynamically sense /etc/wall_cmos_clock presence/absenseache1996-04-051-20/+8
|
* Fix error with multiply 'adjkerntz -a' copies running.ache1996-04-051-32/+86
| | | | | Manage adjkerntz kernel variable even for UTC clocks. Code cleanup.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Use more AI to predict initial/final isdst,ache1995-03-261-19/+37
| | | | latest isdst preffered.
* Use timelocal() instead of mktime() hackache1994-12-261-10/+18
|
* Fix resetting adjkerntz to 0 (pointed by Bruce),ache1994-12-121-0/+2
| | | | forget to initialize mib variable.
* Optimize setting of DISRTCSETache1994-12-121-2/+2
|
* Clean internal logic, helps for some unusual casesache1994-12-121-28/+29
|
* -i case goes to background pause and acts like -a case on receivingache1994-11-031-0/+29
| | | | | SIGTERM. This helps to keep CMOS clock updated before reboot. Idea from J.Wunsch.
* Restore back -i, -aache1994-11-021-127/+130
|
* Remove options, run adjkerntz as daemon nowache1994-11-011-130/+129
|
* Now:ache1994-11-011-20/+20
| | | | | adjkerntz -i writes kernel clock only, don't touch RTC clock adjkerntz -a writes RTC clock only, don't touch kernel clock
* Modify adjkerntz to not write RTC clock per initial call,ache1994-10-041-2/+28
| | | | suggested by Bruce
* rewritted to use sysctl, no more /var/run/.adjkerntz nowache1994-09-191-32/+25
|
* Cosmetique patch from bdeache1994-02-051-9/+23
|
* Fix sign of offset diff.ache1993-12-201-6/+36
| | | | Use Bruce initial/final hour scheme to avoid critical hours.
* Attempt to import adjkerntz...ache1993-12-161-0/+180
OpenPOWER on IntegriCloud