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/
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
/lib/dracut/hooks/pre-pivot/*.sh
scripts to run before latter initramfs cleanups
-/lib/dracut/hooks/pre-pivot-cleanup/*.sh
+/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.