Up to [cvs.NetBSD.org] / src / etc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: tls-earlyentropy-base
Revision 1.94 / (download) - annotate - [select for diffs], Sun Jul 27 07:46:46 2014 UTC (9 years, 8 months ago) by apb
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Branch point for: netbsd-7
Changes since 1.93: +39 -10
lines
Diff to previous 1.93 (colored)
In rc.subr, add _have_rc_postprocessor function and use it instead of inline tests like [ -n "${_rc_postprocessor_fd}" ]. The new function performs a few new tests, including verifying that /etc/rc is still running (using a new _rc_pid variable set by /etc/rc). This is intended to deal with the case that a script run from /etc/rc spawns a background process, then /etc/rc exits, but the background process still has environment variables inherited from /etc/rc. Fixes PR 46546.