summaryrefslogtreecommitdiffstats
path: root/share/man/man5/sysctl.conf.5
diff options
context:
space:
mode:
authorchris <chris@FreeBSD.org>2000-01-16 18:12:42 +0000
committerchris <chris@FreeBSD.org>2000-01-16 18:12:42 +0000
commit29fd6b6840e1f151ed18abe00cd191e6d7943c2e (patch)
tree79dc55c97c96ad390cd8ceeb182785780431408d /share/man/man5/sysctl.conf.5
parent4338629a916cc92e6fe6710cca485f9eaa64e724 (diff)
downloadFreeBSD-src-29fd6b6840e1f151ed18abe00cd191e6d7943c2e.zip
FreeBSD-src-29fd6b6840e1f151ed18abe00cd191e6d7943c2e.tar.gz
Add and document support for handling comments and blank lines
in /etc/sysctl.conf. Reviewed by: imp, jkh
Diffstat (limited to 'share/man/man5/sysctl.conf.5')
-rw-r--r--share/man/man5/sysctl.conf.510
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man5/sysctl.conf.5 b/share/man/man5/sysctl.conf.5
index 08e6fb1..96cee10 100644
--- a/share/man/man5/sysctl.conf.5
+++ b/share/man/man5/sysctl.conf.5
@@ -42,6 +42,13 @@ command, i.e.
.Bd -literal -offset indent
sysctl_mib=value
.Ed
+.Pp
+Comments are denoted by a
+.Dq #
+at the beginning of a line. Comments can also exist at the end of a line,
+as seen in the
+.Sx EXAMPLES
+section, below.
.Sh FILES
.Bl -tag -width /etc/sysctl.conf -compact
.It Pa /etc/sysctl.conf
@@ -52,7 +59,8 @@ To turn off logging of programs that exit due to fatal signals, as well as
telling Linux programs that you are running FreeBSD 3.4-STABLE, you may use
a configuration like
.Bd -literal -offset indent
-kern.logsigexit=0
+# Configure logging and Linux execution.
+kern.logsigexit=0 # Do not log fatal signal exits (e.g. sig 11)
compat.linux.osname=FreeBSD
compat.linux.osrelease=3.4-STABLE
.Ed
OpenPOWER on IntegriCloud