be more precise, when checking the dracutmodules string, also print
message which module is usedmaster
parent
4ab702040a
commit
743c38d878
1
dracut
1
dracut
|
@ -63,6 +63,7 @@ for moddir in "$dsrc/modules.d"/*; do
|
|||
[[ -d $moddir || -L $moddir ]] || continue
|
||||
mod=${moddir##*/}; mod=${mod#[0-9][0-9]};
|
||||
if [[ $dracutmodules = all ]] || strstr "$dracutmodules " "$mod "; then
|
||||
echo "== Module $moddir == "
|
||||
[[ -x $moddir/install ]] && . "$moddir/install"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue