diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-12 13:42:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-21 19:07:55 +0100 |
commit | 2467cc55f139cf540dc1ed6da5f3774fcbab4475 (patch) | |
tree | 1cd1f4074f54a2bac518893df8860063cf9c86ad /ENVIRONMENT.md | |
parent | 5cfc0a84610949854ae46a5f7f2e3a56077fa92d (diff) |
util-lib: read $SYSTEMD_PROC_CMDLINE if set when looking for the kernel cmdline
if we want to parse the kernel command line, let's check the
$SYSTEMD_PROC_CMDLINE environment variable first. This is useful for debugging
purposes.
Diffstat (limited to 'ENVIRONMENT.md')
-rw-r--r-- | ENVIRONMENT.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ENVIRONMENT.md b/ENVIRONMENT.md index 4ace45751f..1ad2addfee 100644 --- a/ENVIRONMENT.md +++ b/ENVIRONMENT.md @@ -21,6 +21,11 @@ All tools: * `$SD_EVENT_PROFILE_DELAYS=1` — if set, the sd-event event loop implementation will print latency information at runtime. +* `$SYSTEMD_PROC_CMDLINE` — if set, may contain a string that is used as kernel + command line instead of the actual one readable from /proc/cmdline. This is + useful for debugging, in order to test generators and other code against + specific kernel command lines. + systemctl: * `$SYSTEMCTL_FORCE_BUS=1` — if set, do not connect to PID1's private D-Bus |