Subject: Re: CVS commit: src/etc
To: Charles M. Hannum <mycroft@netbsd.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: source-changes
Date: 08/14/2004 09:41:05
--UPT3ojh+0CqEDtpF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 13, 2004 at 06:08:03PM +0000, Charles M. Hannum wrote:
  |=20
  | Module Name:	src
  | Committed By:	mycroft
  | Date:		Fri Aug 13 18:08:03 UTC 2004
  |=20
  | Modified Files:
  | 	src/etc: rc.subr
  | 	src/etc/rc.d: accounting altqd amd apmd bootparams ccd cgd cleartmp
  | 	    cron dhclient dhcpd dhcrelay dmesg fixsb fsck identd ifwatchd inetd
  | 	    ipfilter ipfs ipmon ipnat ipsec isdnd kdc ldconfig lkm1 lkm2 lkm3
  | 	    local lpd mixerctl mopd motd mountall mountcritlocal
  | 	    mountcritremote mountd moused mrouted named ndbootd network
  | 	    newsyslog nfsd nfslocking ntpd ntpdate pf pflogd poffd postfix
  | 	    powerd ppp pwcheck quota racoon raidframe raidframeparity rarpd
  | 	    rbootd root route6d routed rpcbind rtadvd rtclocaltime rtsold rwho
  | 	    savecore screenblank securelevel sendmail smmsp sshd staticroute
  | 	    swap1 swap2 sysctl sysdb syslogd timed tpctl ttys veriexec
  | 	    virecover wdogctl wscons wsmoused xdm xfs ypbind yppasswdd ypserv
  |=20
  | Log Message:
  | 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

I would have preferred that this optimization was hidden within
rc.subr(8), making it easier for us to modify the optimization
mechanism without modifying or breaking various third party
scripts.

--UPT3ojh+0CqEDtpF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)

iD8DBQFBHVGRpBhtmn8zJHIRAm8DAJ9Ya+hkxquKUOc6wAIpHSbA8D4PCACghYHq
ilbJ7+Kt5Gw2ZlsnJ2klyU0=
=1lld
-----END PGP SIGNATURE-----

--UPT3ojh+0CqEDtpF--