diff --git a/ChangeLog b/ChangeLog index 0d55bb5..83e7fd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Nov 2007; Chris Gianelloni + generic/initrd.scripts: + Fixed the noload module code. Thanks to Mijail Fedorovich + for pointing it out in bug #198187. + 07 Nov 2007; Chris Gianelloni generic/initrd.scripts, generic/linuxrc: Added an update patch from Alon Bar-Lev in bug #197244 diff --git a/generic/initrd.scripts b/generic/initrd.scripts index 670462c..4dedb23 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -43,7 +43,7 @@ modules_scan() { for x in ${MODS} do MLOAD=`echo ${MLIST} | sed -e "s/.*${x}.*/${x}/"` - if [ "${MLIST}" = "${x}" ] # Only module to no-load + if [ "${MLOAD}" = "${x}" ] # Only module to no-load then echo -e "${BOLD} ::${NORMAL} Skipping ${x}..." elif [ "${MLOAD}" = "${MLIST}" ] # == No change == No specified no-load