1 .\" $OpenBSD: sysctl.conf.5,v 1.11 2007/05/31 19:19:58 jmc Exp $
3 .\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: May 31 2007 $
22 .Nd sysctl variables to set at system startup
27 variable assignments that is read at system startup by
29 early on in the boot sequence.
31 The file is made up of
34 .Pq Ar variable Ns = Ns Ar value
35 with comments designated by a hash mark
38 .Bl -tag -width /etc/sysctl.conf -compact
39 .It Pa /etc/sysctl.conf
42 To turn on IP forwarding, one would use the following line:
43 .Bd -literal -offset indent
44 net.inet.ip.forwarding=1
47 To cause the kernel to reboot on a panic, instead of dropping into
48 the debugger, the following can be used:
49 .Bd -literal -offset indent
58 file first appeared in