From: Harald Hoyer Date: Sat, 25 Feb 2012 15:09:38 +0000 (+0100) Subject: dracut-functions.sh: instmods() removed special case for "=ata" X-Git-Tag: 018~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edea870c3cade3a9f8836e75afa98587945908d2;p=thirdparty%2Fdracut.git dracut-functions.sh: instmods() removed special case for "=ata" --- diff --git a/dracut-functions.sh b/dracut-functions.sh index 81801e145..bd3203d31 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -1103,13 +1103,7 @@ instmods() { local _mod="$1" case $_mod in =*) - # This introduces 2 incompatible meanings for =* arguments - # to instmods. We need to decide which one to keep. - if [[ $_mod = =ata && -f $srcmods/modules.block ]]; then - ( [[ "$_mpargs" ]] && echo $_mpargs - egrep 'ata|ahci' "${srcmods}/modules.block" ) \ - | instmods - elif [ -f $srcmods/modules.${_mod#=} ]; then + if [ -f $srcmods/modules.${_mod#=} ]; then ( [[ "$_mpargs" ]] && echo $_mpargs cat "${srcmods}/modules.${_mod#=}" ) \ | instmods