Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sysctl.d(5) [debian man page]

SYSCTL.D(5)							     sysctl.d							       SYSCTL.D(5)

NAME
sysctl.d - Configure kernel parameters at boot SYNOPSIS
/etc/sysctl.d/*.conf /run/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf DESCRIPTION
systemd uses configuration files from the above directories to configure sysctl(8) kernel parameters to load during boot. CONFIGURATION FORMAT
The configuration files should simply contain a list of variable assignments, separated by newlines. Empty lines and lines whose first non-whitespace character is # or ; are ignored. Note that both / and . are accepted as separators in sysctl variable names. Each configuration file is named in the style of <program>.conf. Files in /etc/ overwrite files with the same name in /usr/lib/. Files in /run overwrite files with the same name in /etc/ and /usr/lib/. Packages should install their configuration files in /usr/lib/, files in /etc/ are reserved for the local administration, which possibly decides to overwrite the configurations installed from packages. All files are sorted by filename in alphabetical order, regardless in which of the directories they reside, to ensure that a specific configuration file takes precedence over another file with an alphabetically later name. EXAMPLE
Example 1. /etc/sysctl.d/domain-name.conf example: # Set kernel YP domain name kernel.domainname=example.com SEE ALSO
systemd(1), sysctl(8), sysctl.conf(5) AUTHOR
Lennart Poettering <lennart@poettering.net> Developer systemd 10/07/2013 SYSCTL.D(5)

Check Out this Related Man Page

SYSCTL.D(5)							     sysctl.d							       SYSCTL.D(5)

NAME
sysctl.d - Configure kernel parameters at boot SYNOPSIS
/etc/sysctl.d/*.conf /run/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf DESCRIPTION
At boot, systemd-sysctl.service(8) reads configuration files from the above directories to configure sysctl(8) kernel parameters. CONFIGURATION FORMAT
The configuration files contain a list of variable assignments, separated by newlines. Empty lines and lines whose first non-whitespace character is # or ; are ignored. Note that both / and . are accepted as label separators within sysctl variable names. "kernel.domainname=foo" and "kernel/domainname=foo" hence are entirely equivalent. Each configuration file shall be named in the style of program.conf. Files in /etc/ override files with the same name in /usr/lib/ and /run/. Files in /run/ override files with the same name in /usr/lib/. Packages should install their configuration files in /usr/lib/. Files in /etc/ are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages. All configuration files are sorted by their filename in lexicographic order, regardless of which of the directories they reside in. If multiple files specify the same variable name, the entry in the file with the lexicographically latest name will be applied. It is recommended to prefix all filenames with a two-digit number and a dash, to simplify the ordering of the files. If the administrator wants to disable a configuration file supplied by the vendor, the recommended way is to place a symlink to /dev/null in /etc/sysctl.d/ bearing the same filename. EXAMPLE
Example 1. /etc/sysctl.d/domain-name.conf example: # Set kernel YP domain name kernel.domainname=example.com SEE ALSO
systemd(1), systemd-sysctl.service(8), systemd-delta(1), sysctl(8), sysctl.conf(5) systemd 208 SYSCTL.D(5)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

files of dns server

hello friends I installed sun solaris 8 for x86 pc, and I want know where is the files of configuration (path), the name of files, and the named of daemon. example: /etc/named.conf and the zones is /var/named, and the daemon is named....it's in linux system. I need want only the name of files,... (2 Replies)
Discussion started by: themask
2 Replies

2. Shell Programming and Scripting

overwrite specific lines in a file

Hi all, I am trying to overwrite some lines of a very big file. I know the number of the line but I don't know how to point the cursor on its beginning. there is an option to notice the offset in lines? thanks! (7 Replies)
Discussion started by: csecnarf
7 Replies

3. SCO

Visionfs configuration problem!

I have re-installed sco unix 7.1.1 box, and Visionfs is installed and configured successful but when i run the "sh /usr/vision/bin/visionfs print --install PRINTERNAME PC-NAME PRINTERNAME" command the system gives me the usage instruction as if i am giving the wrong syntax! any help please! (1 Reply)
Discussion started by: titino
1 Replies

4. Emergency UNIX and Linux Support

Function and LOOP

Hello, I need help : I've got configurations files in two differents directory. Each configuration files contains some information that I must have in order to send specific command. I do not know how to do it. I belive I need a loop in function but I can't make it work. Extension of... (4 Replies)
Discussion started by: Aswex
4 Replies

5. HP-UX

HP-UX 10.20 mk_kernel failure

PH-UX newbie here, so please go slowly, step by step. I've just tried to install XSW700GR1020 patch set (December 2001 CD) to my preloaded HP-UX 10.20 system. After running for ages and installing pretty much most of the patches, when the mk_kernel step was run it failed with an unresolved... (7 Replies)
Discussion started by: perdrix
7 Replies

6. Shell Programming and Scripting

overwrite only if both files are the same size

Dear users, I've been looking for a way to overwrite files only if both have the same size, how could I do this? any help is very appreciated. Best regards, Gery (5 Replies)
Discussion started by: Gery
5 Replies

7. UNIX for Dummies Questions & Answers

[Solved] Suppress do you wish to overwrite (y or n)?

Hi all, as i have to deal every day with .log and also .csv files, i would like to know if there is any way to suppress "do you wish to overwrite (y or n)?" prompt with the option no for all prompts, the command i usually run is the following, find... (2 Replies)
Discussion started by: charli1
2 Replies

8. UNIX for Beginners Questions & Answers

Replace Stub Values In One Group Of Files With Actual Values From Another Group Of Files

I have two directories of files (new-config-files and old-config-files): new-config-files/this-db/config.inc.php new-config-files/that-db/config.inc.php new-config-files/old-db/config.inc.php new-config-files/new-db/config.inc.php new-config-files/random-database/config.inc.php etc. ... (4 Replies)
Discussion started by: spacegoose
4 Replies