# module_check <dracut module> [<forced>] [<module path>]
# execute the check() function of module-setup.sh of <dracut module>
-# or the "check" script, if module-setup.sh is not found
# "check $hostonly" is called
module_check() {
local _moddir=$3
# module_check_mount <dracut module> [<module path>]
# execute the check() function of module-setup.sh of <dracut module>
-# or the "check" script, if module-setup.sh is not found
# "mount_needs=1 check 0" is called
module_check_mount() {
local _moddir=$2
# module_depends <dracut module> [<module path>]
# execute the depends() function of module-setup.sh of <dracut module>
-# or the "depends" script, if module-setup.sh is not found
module_depends() {
local _moddir=$2
local _ret
# module_cmdline <dracut module> [<module path>]
# execute the cmdline() function of module-setup.sh of <dracut module>
-# or the "cmdline" script, if module-setup.sh is not found
module_cmdline() {
local _moddir=$2
local _ret
# module_config <dracut module> [<module path>]
# execute the config() function of module-setup.sh of <dracut module>
-# or the "config" script, if module-setup.sh is not found
module_config() {
local _moddir=$2
local _ret
# module_install <dracut module> [<module path>]
# execute the install() function of module-setup.sh of <dracut module>
-# or the "install" script, if module-setup.sh is not found
module_install() {
local _moddir=$2
local _ret
# module_installkernel <dracut module> [<module path>]
# execute the installkernel() function of module-setup.sh of <dracut module>
-# or the "installkernel" script, if module-setup.sh is not found
module_installkernel() {
local _moddir=$2
local _ret