rc.d and environment variables

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu Dec 23 20:12:44 UTC 2010

Polytropon <freebsd at edvax.de> writes:

> I'm not sure this will work. The initial question was about
> how to obtain an environmental variable. If the rc.d script
> of svnserve sources /etc/rc.conf and/or /etc/rc.conf.local,
> it is okay,

They do.  rc.d scripts all start by sucking in rc.subr, which in turn
pulls in the rc.conf files.

More information about the freebsd-questions mailing list