docs(readme): update preload examples

This commit is contained in:
Orhun Parmaksız 2022-03-24 23:42:04 +03:00
parent fb9cd98d24
commit 201af2fb2c
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90

View File

@ -276,6 +276,11 @@ kernel.sysrq = 16
# Append the PID to the core filename
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:
@ -290,6 +295,12 @@ If no file is given, values are loaded from `/etc/sysctl.conf` as default:
systeroid --load
```
Specifying "-" as file name means reading data from standard input:
```sh
systeroid --load -
```
#### Loading values from the system directories
The list of default system directories are the following: