mirror of
https://github.com/orhun/systeroid
synced 2024-10-06 15:49:09 +00:00
docs(readme): update preload examples
This commit is contained in:
parent
fb9cd98d24
commit
201af2fb2c
11
README.md
11
README.md
|
@ -276,6 +276,11 @@ kernel.sysrq = 16
|
||||||
|
|
||||||
# Append the PID to the core filename
|
# Append the PID to the core filename
|
||||||
kernel.core_uses_pid = 1
|
kernel.core_uses_pid = 1
|
||||||
|
|
||||||
|
; Enable hard and soft link protection
|
||||||
|
; (If a line begins with a single '-', any attempts to set the value that fail will be ignored.)
|
||||||
|
-fs.protected_hardlinks = 1
|
||||||
|
fs.protected_symlinks = 1
|
||||||
```
|
```
|
||||||
|
|
||||||
To load it:
|
To load it:
|
||||||
|
@ -290,6 +295,12 @@ If no file is given, values are loaded from `/etc/sysctl.conf` as default:
|
||||||
systeroid --load
|
systeroid --load
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Specifying "-" as file name means reading data from standard input:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
systeroid --load -
|
||||||
|
```
|
||||||
|
|
||||||
#### Loading values from the system directories
|
#### Loading values from the system directories
|
||||||
|
|
||||||
The list of default system directories are the following:
|
The list of default system directories are the following:
|
||||||
|
|
Loading…
Reference in a new issue