diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2014-08-27 09:19:22 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2014-08-27 09:19:22 +0000 |
commit | 8eac80769b8e3817cea84c2d73e311114c03d938 (patch) | |
tree | a55563affcaef7555661fa9e25ebb507b89e5896 /share/man | |
parent | 5aec07c73db48de33779c8b5dd98c27572d13520 (diff) | |
download | src-8eac80769b8e3817cea84c2d73e311114c03d938.tar.gz src-8eac80769b8e3817cea84c2d73e311114c03d938.zip |
- Use $local_startup to load rc.conf.d/* scripts.
- Document support of rc.conf.d/<dir>/* introduced in r270392.
Discussed with: bapt
Notes
Notes:
svn path=/head/; revision=270698
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man5/rc.conf.5 | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index ea80394254ae..669e773bac64 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -63,20 +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 or in the -.Pa ${LOCALBASE}/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. |