diff options
author | des <des@FreeBSD.org> | 2014-09-08 11:18:27 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2014-09-08 11:18:27 +0000 |
commit | 1b9496716d6c8b542db3304a742378cddb1b7c48 (patch) | |
tree | a4019845a23157ffba69aa8a414afdc66a7c0ec6 /share | |
parent | 220594599565b8c04c14a4e89f5a165cc062548e (diff) | |
download | FreeBSD-src-1b9496716d6c8b542db3304a742378cddb1b7c48.zip FreeBSD-src-1b9496716d6c8b542db3304a742378cddb1b7c48.tar.gz |
MFH (r270392, r270676, r270679, r270698): add support for subdirectories in rc.conf.d
Approved by: re (glebius)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/rc.conf.5 | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index e05291d..ce1230e 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 15, 2014 +.Dd August 27, 2014 .Dt RC.CONF 5 .Os .Sh NAME @@ -63,18 +63,37 @@ The file is used to override settings in .Pa /etc/rc.conf for historical reasons. +.Pp In addition to .Pa /etc/rc.conf.local you can also place smaller configuration files for each .Xr rc 8 script in the .Pa /etc/rc.conf.d -directory, which will be included by the +directory or +.Ao Ar dir Ac Ns Pa /rc.conf.d +directories specified in +.Va local_startup , +which will be included by the .Va load_rc_config function. For jail configurations you could use the file .Pa /etc/rc.conf.d/jail to store jail specific configuration options. +If +.Va local_startup +contains +.Pa /usr/local/etc/rc.d +and +.Pa /opt/conf , +.Pa /usr/local/rc.conf.d/jail +and +.Pa /opt/conf/rc.conf.d/jail +will be loaded. +If +.Ao Ar dir Ac Ns Pa /rc.conf.d/ Ns Ao Ar name Ac +is a directory, +all of files in the directory will be loaded. Also see the .Va rc_conf_files variable below. |