OpenGrok
Cross Reference: rtclocaltime
xref
: /
src
/
etc
/
rc.d
/
rtclocaltime
Home
|
History
|
Annotate
|
Download
|
only in
rc.d
History log of
/src/etc/rc.d/rtclocaltime
Revision
Date
Author
Comments
1.9
08-Apr-2009
martin
systime() is not needed here - as the man page clearly points out.
Noticed by pooka.
1.8
08-Apr-2009
martin
Awk has strftime() and systime(), so no need to pipe the output of date
into the script - just do it internally.
1.7
25-Aug-2007
apb
branches: 1.7.18;
Back out previous (which worked but made the code harder to understand),
and implement a different method of avoiding a "-0" result.
1.6
24-Aug-2007
martin
Cosmetics: print 0 instead of -0.
From Zafer Aydogan in PR bin/36831.
1.5
01-Oct-2006
sketch
Tidy output so it matches other rc scripts.
1.4
26-Apr-2006
blymn
Fix rtc offset calculation for timezones that are not integral hours.
1.3
13-Aug-2004
mycroft
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this
for a speedup by doing:
$_rc_subr_loaded . /etc/rc.subr
1.2
25-Apr-2004
schmonz
Add RCS Id.
1.1
27-Dec-2003
martin
Add a new /etc/rc.conf option: rtclocaltime=YES adapts the RTC offset
at boot automatically, so a machine dual booting another OS that uses
the RTC at localtime and NetBSD agree on the current time even if daylight
saving started/ended (without recompiling a kernel twice per year).
Awk code by Matt Thomas.
1.7.18.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Indexes created Wed Oct 22 13:09:56 GMT 2025