Miroslav Lichvar
aec97397e8
local: check offset sanity before accumulation
...
Don't accept an offset that points to time before 1970 or outside the
interval to which is mapped NTP time.
2015-04-07 15:23:47 +02:00
Miroslav Lichvar
a5e9e5d0df
rtc: set clock to mtime of driftfile when RTC preinit fails
...
When the RTC preinit function fails, set the system clock to the time of
the last modification of the driftfile if it's in the future. This makes
the -s option somewhat useful on systems where RTC is not supported or
missing.
This is similar to the functionality implemented in the fake-hwclock
script.
2014-08-19 10:46:35 +02:00
Miroslav Lichvar
7e1a699616
rtc: return status from preinit function
2014-08-19 10:46:35 +02:00
Miroslav Lichvar
c6e064200d
rtc: move preinit call to RTC_Initialise()
2014-08-19 10:46:32 +02:00
Miroslav Lichvar
c52e9085d1
rtc: cleanup in error messages
2014-08-18 17:21:26 +02:00
Miroslav Lichvar
3c5cf81e32
Replace /sbin/clock with /sbin/hwclock in documentation and comments
2013-12-10 17:54:05 +01:00
Miroslav Lichvar
be14dbffef
Make naming of RTC config functions consistent
2013-12-10 17:54:05 +01:00
Miroslav Lichvar
359d444343
Remove unncessary return statements
2013-05-21 15:08:34 +02:00
Miroslav Lichvar
da2c8d9076
Use config.h
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
e8c5d15690
Remove CVS headers
2011-01-28 12:56:09 +01:00
Miroslav Lichvar
a080d00352
Add rtcsync directive
...
The directive enables the 11 minute kernel mode. It cannot be used
when the normal RTC tracking is enabled.
2010-05-14 14:41:11 +02:00
Miroslav Lichvar
e78e65ef22
Refactor file logging
2010-04-13 15:16:41 +02:00
Miroslav Lichvar
8e23110aec
Update COPYING and FSF address
2009-10-28 17:53:33 +01:00
Vladimir Michl
93f6664378
Allow RTC support to be excluded at compile time.
...
Add a new option to configure script, allowing
to disable (and exclude) RTC module. It saves same memory.
2007-06-26 22:08:49 +01:00
richard
6672f045c2
Update copyright to 2003
2006-01-19 21:37:13 +00:00
Richard P. Curnow
8884034104
Equivalent to V1.19.99.1
...
This is a verbatim copy of the files at that stage of the repository that was
built from the CVS import. It allows future development to see a bit of recent
history, but without carrying around the baggage going back to 1997. If that
is really required, git grafts can be used.
2006-01-19 21:34:28 +00:00