]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions: fixed --omit
authorHarald Hoyer <harald@redhat.com>
Wed, 4 Aug 2010 15:46:54 +0000 (17:46 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 4 Aug 2010 15:46:54 +0000 (17:46 +0200)
dracut-functions

index 199501627d55e2ca5ffe844a0b63c47a7322c653..a1873c5dedd9dd86f0ede78d267316208ba3267d 100755 (executable)
@@ -528,6 +528,7 @@ check_modules() {
        strstr " $mods_to_load " " $mod " && continue
        # This should never happen, but...
        [[ -d $moddir ]] || continue
+        strstr " $omit_dracutmodules " " $mod " && continue
 
         if ! strstr " $dracutmodules $add_dracutmodules " " $mod "; then
             # module not in our list