be more precise, when checking the dracutmodules string, also print

message which module is used
master
Harald Hoyer 2009-03-06 16:27:56 +01:00
parent 4ab702040a
commit 743c38d878
1 changed files with 2 additions and 1 deletions

1
dracut
View File

@ -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