Date: Sun, 4 Jul 2004 07:21:18 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc.subr Message-ID: <200407040721.i647LIZL033174@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2004-07-04 07:21:18 UTC
FreeBSD src repository
Modified files:
etc rc.subr
Log:
Wrap rc.subr inside
if [ -z "${_rc_subr_loaded}" ]; then
_rc_subr_loaded="YES"
...
fi
in order to avoid re-interpreting rc.subr every time an rc.d
script is run. In my tests, this speeds up rc time by about
8-10%.
Revision Changes Path
1.30 +6 -0 src/etc/rc.subr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407040721.i647LIZL033174>
