Up to [cvs.netbsd.org] / src / etc / rc.d
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7.18.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:03 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.7: +4 -3
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 8 13:29:59 2009 UTC (3 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
HEAD
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
systime() is not needed here - as the man page clearly points out. Noticed by pooka.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 8 13:18:56 2009 UTC (3 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.7: +4 -3
lines
Diff to previous 1.7 (colored)
Awk has strftime() and systime(), so no need to pipe the output of date into the script - just do it internally.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 25 07:07:39 2007 UTC (4 years, 9 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base2,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
mjf-devfs,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Branch point for: jym-xensuspend
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
Back out previous (which worked but made the code harder to understand), and implement a different method of avoiding a "-0" result.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 24 17:02:32 2007 UTC (4 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
Cosmetics: print 0 instead of -0. From Zafer Aydogan in PR bin/36831.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 1 15:17:51 2006 UTC (5 years, 7 months ago) by sketch
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Changes since 1.4: +4 -3
lines
Diff to previous 1.4 (colored)
Tidy output so it matches other rc scripts.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 26 09:57:01 2006 UTC (6 years, 1 month ago) by blymn
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Fix rtc offset calculation for timezones that are not integral hours.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 13 18:08:03 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
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
Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 25 16:52:19 2004 UTC (8 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.1: +4 -1
lines
Diff to previous 1.1 (colored)
Add RCS Id.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 27 00:23:22 2003 UTC (8 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
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.