Difference between revisions of "/etc/sysctl.d/README"

From GhostBSD Wiki
Jump to: navigation, search
(Created page with "Kernel system variables configuration files Files found under the '''/etc/sysctl.d''' directory that end with '''.conf''' are parsed within [https://www.unix.com/man-page/fre...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Welcome}}
 +
 +
 
Kernel system variables configuration files
 
Kernel system variables configuration files
  
Line 12: Line 15:
 
but as long as you follow the rules for the name of the file, anything will
 
but as long as you follow the rules for the name of the file, anything will
 
work. see the [https://www.unix.com/man-page/freebsd/5/sysctl.conf/ sysctl.conf(5)] man page for details of the format.
 
work. see the [https://www.unix.com/man-page/freebsd/5/sysctl.conf/ sysctl.conf(5)] man page for details of the format.
 +
 +
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"
 +
|-
 +
!colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=/etc/]]'''/etc/'''
 +
 +
|}
 +
 +
 +
 +
 +
[[Category:README]]

Latest revision as of 10:38, 6 February 2020

Welcome to Icon Disti GhostBSD.png /etc/sysctl.d/README.


Kernel system variables configuration files

Files found under the /etc/sysctl.d directory that end with .conf are parsed within sysctl(8) at boot time. If you want to set kernel variables you can either edit /etc/sysctl.conf or make a new file.

The filename isn't important, but don't make it a package name as it may clash with something the package builder needs later. The file name must end with .conf, or it will not be read.

The recommended location for local system settings is /etc/sysctl.d/local.conf but as long as you follow the rules for the name of the file, anything will work. see the sysctl.conf(5) man page for details of the format.

Back to Icon Disti GhostBSD.png/etc/