]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(man): move the documentation hostonly and hostonly_mode variables
authorJo Zzsi <jozzsicsataban@gmail.com>
Fri, 15 Aug 2025 10:37:41 +0000 (06:37 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Fri, 15 Aug 2025 23:27:58 +0000 (19:27 -0400)
Move the documentation block to the man pages.

doc_site/modules/ROOT/pages/developer/modules.adoc
man/dracut.modules.7.adoc

index 797356e64334870217073f6a40f82e4a0bf44bfd..6b57eab4da282887442d64c48d2b9d677915e7f4 100644 (file)
@@ -75,16 +75,6 @@ module implements onto the initrd.  For the most part, this amounts
 to copying files from the host system onto the initrd in a controlled
 manner.
 
-The following are the most commonly used shell variables used inside
-drauct modules. These shell variables are always declared and assigned
-values (the assigned value might be an empty string). There is a
-compatibility promise on these variables between dracut releases.
-Module should only read (and not write) these variables.
- * `$hostonly` (could be an empty string)
- * `$hostonly_mode` (could be an empty string)
- * `$hostonly_cmdline` (not an empty string)
- * `$moddir` (not an empty string)
-
 ==== `module-setup.sh` function API
 
 `install()`::
index 20daf16b3f7700e70068de39331d61c10b55a03f..b447d3d21de4b53d7d70d114c0e3008163a84f7a 100644 (file)
@@ -156,6 +156,16 @@ after udev has settled and the basic device drivers have been loaded.
 
 All module installation information is in the file module-setup.sh.
 
+The following are the most commonly used shell variables used inside
+drauct modules. These shell variables are always declared and assigned
+values (the assigned value might be an empty string). There is a
+compatibility promise on these variables between dracut releases.
+Module should only read (and not write) these variables.
+ * `$hostonly` (could be an empty string)
+ * `$hostonly_mode` (could be an empty string)
+ * `$hostonly_cmdline` (not an empty string)
+ * `$moddir` (not an empty string)
+
 First we create a check() function, which just exits with 0 indicating that this
 module should be included by default.