dracut-functions: fixed --omit

master
Harald Hoyer 2010-08-04 17:46:54 +02:00
parent c492fe12c0
commit 578c24a473
1 changed files with 1 additions and 0 deletions

View File

@ -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