From: Harald Hoyer Date: Fri, 6 Mar 2009 15:27:56 +0000 (+0100) Subject: be more precise, when checking the dracutmodules string, also print X-Git-Tag: 0.1~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=743c38d878b37d0305f6cad79bc0d3ee07da1fbd;p=thirdparty%2Fdracut.git be more precise, when checking the dracutmodules string, also print message which module is used --- diff --git a/dracut b/dracut index 3f68e46f6..a691a66ff 100755 --- 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