]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
be more precise, when checking the dracutmodules string, also print
authorHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 15:27:56 +0000 (16:27 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 15:27:56 +0000 (16:27 +0100)
message which module is used

dracut

diff --git a/dracut b/dracut
index 3f68e46f6e0618db0ff6df600841b492b6ccf75c..a691a66ff37bd79482a7d40214e3b70cf5129dfa 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -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