From: Jo Zzsi Date: Mon, 27 Apr 2026 20:21:34 +0000 (-0400) Subject: docs: document hookdir variable as always declared X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;p=thirdparty%2Fdracut-ng.git docs: document hookdir variable as always declared hookdir variable is the recommended way to refer to the path of the directory used for dracut hooks during boot. This variable is part of the API for 3rd party dracut modules. Follow-up to 04d5e29 . --- diff --git a/man/dracut.modules.7.adoc b/man/dracut.modules.7.adoc index 5fbde1345..faa704255 100644 --- a/man/dracut.modules.7.adoc +++ b/man/dracut.modules.7.adoc @@ -182,6 +182,7 @@ Module should only read (and not write) these variables. * `$hostonly_mode` (could be an empty string) * `$hostonly_cmdline` (not an empty string) * `$moddir` (not an empty string) + * `$hookdir` (not an empty string) First we create a check() function, which just exits with 0 indicating that this module should be included by default.