Date: Sat, 18 Jun 2011 11:05:30 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/etc rc.subr Message-ID: <201106181105.p5IB5e0M014590@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2011-06-18 11:05:30 UTC
FreeBSD src repository
Modified files:
etc rc.subr
Log:
SVN rev 223227 on 2011-06-18 11:05:30Z by jilles
rc.subr: Eliminate about 100 forks from the boot sequence.
With the current sh, placing eval in a command substitution always results
in a fork(), even if it is the only command and only executes a single
simple command. Therefore, avoid it where it can be avoided easily.
Side effect: values starting with a hyphen and all whitespace are preserved.
The values are defaults and names for rc.conf variables and messages to be
given about obsolete ones.
MFC after: 2 weeks
Revision Changes Path
1.112 +5 -5 src/etc/rc.subr
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106181105.p5IB5e0M014590>
