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 .
* `$hostonly_mode` (could be an empty string)
* `$hostonly_cmdline` (not an empty string)
* `$moddir` (not an empty string)
* `$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.
First we create a check() function, which just exits with 0 indicating that this
module should be included by default.