rcvar function in rc.subr

Florent Thoumie flz at FreeBSD.org
Sun Nov 26 14:31:11 PST 2006


Alexander Botero-Lowry wrote:
>> Not sure what you're thinking about. But if it's wrong, it must be
>> fixed. If this chkconfig clone uses rcvar command output redirected to
>> rc.conf, it's likely to do 's/^\$//' and it won't break anything.
> That's assuming it uses sed to deal with the issue, if it's intended
> to reside in /sbin it would try to not use anything in /usr, so no sed.

You don't need to activate services early in the boot process. As I
understand it, chkconfig is like gentoo's rc-update. It's just something
you run once you just installed something from ports (in our case).
Anyway, that's the same as ${bla#\$}. Won't break whether you have a
leading dollar or not.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20061126/a7777634/signature.pgp


More information about the freebsd-rc mailing list