]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - README.modules
iscsi: always popd, even if there is no iscsi device
[thirdparty/dracut.git] / README.modules
index 21461de345944c4d1c25ba9532b823fbacec608d..a50bed5992f3eae0966b2b8438e7b4bd78fd3ac3 100644 (file)
@@ -1,5 +1,5 @@
 Most of the functionality that dracut implements are actually implemented
-by dracut modules.  Dracut modules live in modules.d, and have the following
+by dracut modules.  dracut modules live in modules.d, and have the following
 structure:
 
 dracut_install_dir/modules.d/
@@ -38,7 +38,7 @@ installkernel():
 
 
 check():
-       Dracut calls this function to check and see if a module can be installed
+       dracut calls this function to check and see if a module can be installed
        on the initrd.
 
        When called without options, check should check to make sure that
@@ -103,6 +103,9 @@ init has the following hook points to inject scripts:
    a timeout.
 
 /lib/dracut/hooks/pre-pivot/*.sh
+   scripts to run before latter initramfs cleanups
+
+/lib/dracut/hooks/cleanup/*.sh
    scripts to run before the real init is executed and the initramfs
    disappears
    All processes started before should be killed here.