On Mon, 10 Oct 2011 19:33:52 +0200
[email protected] wrote:

> Hi,
> 
> I have read several docs to figure out this...all docs do changes
> in /etc/conf.d but I found no hint how to transfer that settings
> to the "real" configuration files of the according programs.
> 
> env-update & etc-update do not help...
> 
> What tool do I have to call to acchieve this?
> 
> Thank you very much in advance for any help!

That's not how it works.

The files in /etc/conf.d are not "included" in config files at all,
they are arguments used when the app is launched.

For example, sshd:

SSHD_CONFDIR="/etc/ssh"
SSHD_OPTS=""
SSHD_PIDFILE="/var/run/sshd.pid"
SSHD_BINARY="/usr/sbin/sshd"

None of those items can go in sshd_config except maybe the pid file,
but that can be specified on the command-line.

The Gentoo init system reads conf.d and uses the info in it to
determine hwo to launch the app.

There is other stuff in /etc/conf.d not related to specific daemons,
but the same principle applies - the system reads the files and does
the appropriate thing at strat-up.

I believe you may have the intent of conf.d and env.d confused?

-- 
Alan McKinnnon
[email protected]

Reply via email to