1.\" $OpenBSD: sysctl.conf.5,v 1.14 2020/02/10 13:18:20 schwarze Exp $ 2.\" 3.\" Copyright (c) 1998 Todd C. Miller <millert@openbsd.org> 4.\" 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. 8.\" 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. 16.\" 17.Dd $Mdocdate: February 10 2020 $ 18.Dt SYSCTL.CONF 5 19.Os 20.Sh NAME 21.Nm sysctl.conf 22.Nd sysctl variables to set at system startup 23.Sh DESCRIPTION 24.Nm 25contains a list of 26.Xr sysctl 8 27variable assignments that is read at system startup by 28.Xr rc 8 29early on in the boot sequence. 30.Pp 31The file is made up of 32.Xr sysctl 8 33variable assignments 34.Pq Ar variable Ns = Ns Ar value 35with comments designated by a hash mark 36.Pq Sq # . 37.Sh FILES 38.Bl -tag -width /etc/examples/sysctl.conf -compact 39.It Pa /etc/sysctl.conf 40.It Pa /etc/examples/sysctl.conf 41.El 42.Sh EXAMPLES 43To turn on IP forwarding, one would use the following line: 44.Bd -literal -offset indent 45net.inet.ip.forwarding=1 46.Ed 47.Pp 48To cause the kernel to reboot on a panic, instead of dropping into 49the debugger, the following can be used: 50.Bd -literal -offset indent 51ddb.panic=0 52.Ed 53.Sh SEE ALSO 54.Xr sysctl 2 , 55.Xr rc 8 , 56.Xr sysctl 8 57.Sh HISTORY 58A 59.Nm 60file first appeared in 61.Ox 2.3 . 62