sysctl.conf.5 1.28 KB
Newer Older
csmall's avatar
csmall committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
.\" Copyright 1999, George Staikos ([email protected])
.\" This file may be used subject to the terms and conditions of the
.\" GNU General Public License Version 2, or any later version
.\" at your option, as published by the Free Software Foundation.
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details."
.TH SYSCTL.CONF 5 "21 Sep 1999" "" ""
.SH NAME
sysctl.conf \- sysctl(8) preload/configuration file 
.SH DESCRIPTION
.I sysctl.conf
is a simple file containing sysctl values to be read in and set by sysctl(8).
The syntax is simply as follows:
.RS
.sp
.nf
.ne 7
# comment
; comment

  token  =   value
.fi
.sp
.RE
.PP
Note that blank lines are ignored, and whitespace before and after a token or
value is ignored, although a value can contain whitespace within.  Lines which
begin with a # or ; are considered comments and ignored.
.SH EXAMPLE
.RS
.sp
.nf
.ne 7
# sysctl.conf sample
#

  kernel.domainname = example.com
; this one has a space which will be written to the sysctl!
  kernel.modprobe = /sbin/mod probe

.fi
.sp
.RE
.PP
.SH SEE ALSO
.BR sysctl(8)
.SH AUTHOR
George Staikos, <[email protected]>