a place for configuration files
anthony.maher at uts.edu.au
Thu Mar 23 03:34:17 UTC 2006
Andrzej Cuber wrote:
> In RedHat and Fedora distributions all configuration files are located
> at /etc.
> I am very new to FreeBSD but I found it difficult. After installing
> desired package I have to add it to /etc/rc.conf in order to start it as
> a service and then I have to look for configuration folder in
> Is there any reason why the configuration files are placed in those
> different locations?
If you want to be consistent you could add to /etc/rc.conf
rc_conf_files="/etc/rc.conf /etc/rc.conf.local /usr/local/etc/rc.conf"
Then your startup variables could go into /usr/local/etc/rc.conf and
all your ports config stuff would live in /usr/local/etc hierarchy.
There maybe a problem if /usr/local/etc/rc.conf is on another partition
not available early enough in startup process. Caveat emptor.
More information about the freebsd-stable