SYSCTL.CONF(5) | MidnightBSD File Formats Manual | SYSCTL.CONF(5) |
sysctl.conf
—
kernel state defaults
The /etc/sysctl.conf file is read in when the system goes into multi-user mode to set default settings for the kernel. The /etc/sysctl.conf file is in the format of the sysctl(8) command, i.e.,
sysctl_mib=value
Comments are denoted by a “#” at the beginning of a line. Comments can also exist at the end of a line, as seen in the EXAMPLES section.
sysctl.conf
early on in the process of
transitioning to multi-user mode.sysctl.conf
shortly before the system
reaches the multi-user mode.To turn off logging of programs that exit due to fatal signals you may use a configuration like
# Configure logging. kern.logsigexit=0 # Do not log fatal signal exits (e.g., sig 11)
The sysctl.conf
file appeared in
FreeBSD 4.0.
If loadable kernel modules are used to introduce additional kernel
functionality and sysctls to manage that functionality,
sysctl.conf
may be processed too early in the boot
process to set those sysctls. Please consult
rcorder(8) to learn more
about the ordering of rc(8)
scripts.
June 30, 2022 | midnightbsd-3.1 |