summaryrefslogtreecommitdiff
path: root/docs/ENVIRONMENT.md
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-26 07:15:55 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-10-08 16:04:51 +0200
commit0307ea49c70b1ed4f3af3c80566c8c098dc080bb (patch)
treef956f5c279912ab2fa0f573d07ceeb0aa894a78e /docs/ENVIRONMENT.md
parent12580bc3eda2105b608210c72d791f41d1b9f0d0 (diff)
downloadsystemd-0307ea49c70b1ed4f3af3c80566c8c098dc080bb.tar.gz
Add $SYSTEMD_IN_INITRD=yes|no override for debugging
Diffstat (limited to 'docs/ENVIRONMENT.md')
-rw-r--r--docs/ENVIRONMENT.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index 9d598a6693..ec804c9c85 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -37,6 +37,10 @@ All tools:
useful for debugging, in order to test generators and other code against
specific kernel command lines.
+* `$SYSTEMD_IN_INITRD` — takes a boolean. If set, overrides initrd detection.
+ This is useful for debugging and testing initrd-only programs in the main
+ system.
+
* `$SYSTEMD_BUS_TIMEOUT=SECS` — specifies the maximum time to wait for method call
completion. If no time unit is specified, assumes seconds. The usual other units
are understood, too (us, ms, s, min, h, d, w, month, y). If it is not set or set