Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2012 01:05:59 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        freebsd-current <freebsd-current@FreeBSD.org>
Subject:   HEADS UP: set_rcvar() removed from rc.subr
Message-ID:  <4F114577.30201@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Howdy,

Per discussion in freebsd-rc@, I have removed set_rcvar() from rc.subr.
The concept of set_rcvar() was nice in theory, but the forks it creates
are a drag on the startup process, which is especially noticeable on
slower systems, such as embedded ones.

I have no plans to MFC this change, so it should only affect users who
are actually on 10-current. If you have scripts in /usr/local/etc/rc.d
(which if you have ports installed you almost certainly do) ...

to make the change by hand, change this:

name=foo
rcvar=`set_rcvar`

to:

name=foo
rcvar=foo_enable

I didn't bump PORTREVISIONs because the change only applies to HEAD. But
all of the ports are updated, so if you can't figure out how to make the
change, just reinstall it.


Doug

-- 

	You can observe a lot just by watching.	-- Yogi Berra

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F114577.30201>