dracut-functions.sh: instmods() removed special case for "=ata"
authorHarald Hoyer <harald@redhat.com>
Sat, 25 Feb 2012 15:09:38 +0000 (16:09 +0100)
committerHarald Hoyer <harald@redhat.com>
Sat, 25 Feb 2012 16:09:14 +0000 (17:09 +0100)
dracut-functions.sh

index 81801e1..bd3203d 100755 (executable)
@@ -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