1.\" $OpenBSD: sysctl.conf.5,v 1.6 2000/02/29 04:48:39 aaron Exp $ 2.\" 3.\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. The name of the author may not be used to endorse or promote products 15.\" derived from this software without specific prior written permission. 16.\" 17.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 18.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 19.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 20.\" THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21.\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27.\" 28.Dd June 25, 1998 29.Dt SYSCTL.CONF 5 30.Os 31.Sh NAME 32.Nm sysctl.conf 33.Nd sysctl variables to set at system startup 34.Sh DESCRIPTION 35.Nm 36contains a list of 37.Xr sysctl 8 38variable assignments that is read at system startup by 39.Xr rc 8 40early on in the boot sequence. 41.Pp 42The file is made up of 43.Xr sysctl 8 44variable assignments 45.Pq Ar variable Ns No = Ns Ar value 46with comments designated by a hash mark 47.Pq Sq # . 48.Sh EXAMPLES 49To turn on IP forwarding, one would use the following line: 50.Bd -literal -offset indent 51net.inet.ip.forwarding=1 52.Ed 53.Pp 54To cause the kernel to reboot on a panic, instead of dropping into 55the debugger, the following can be used: 56.Bd -literal -offset indent 57ddb.panic=0 58.Ed 59.Sh FILES 60.Bl -tag -width /etc/sysctl.conf -compact 61.It Pa /etc/sysctl.conf 62.El 63.Sh SEE ALSO 64.Xr rc 8 , 65.Xr sysctl 8 66.Sh HISTORY 67A 68.Nm 69file first appeared in 70.Ox 2.3 . 71