Browse Source

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

message which module is used
master
Harald Hoyer 16 years ago
parent
commit
743c38d878
  1. 3
      dracut

3
dracut

@ -62,7 +62,8 @@ done @@ -62,7 +62,8 @@ done
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
if [[ $dracutmodules = all ]] || strstr "$dracutmodules " "$mod "; then
echo "== Module $moddir == "
[[ -x $moddir/install ]] && . "$moddir/install"
fi
done

Loading…
Cancel
Save