From: Harald Hoyer Date: Wed, 4 Aug 2010 15:46:54 +0000 (+0200) Subject: dracut-functions: fixed --omit X-Git-Tag: 007~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=578c24a47349420b2bb5c677dd35658d0a2c1e32;p=thirdparty%2Fdracut.git dracut-functions: fixed --omit --- diff --git a/dracut-functions b/dracut-functions index 199501627..a1873c5de 100755 --- a/dracut-functions +++ b/dracut-functions @@ -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