Fixed the noload module code. Thanks to Mijail Fedorovich <mfedorovich@gmail.com> for pointing it out in bug #198187.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@556 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 17 years ago
parent ae13885cdf
commit dcb5af3f6f

@ -2,6 +2,11 @@
# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
07 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org>
generic/initrd.scripts:
Fixed the noload module code. Thanks to Mijail Fedorovich
<mfedorovich@gmail.com> for pointing it out in bug #198187.
07 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org>
generic/initrd.scripts, generic/linuxrc:
Added an update patch from Alon Bar-Lev <alonbl@gentoo.org> in bug #197244

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

Loading…
Cancel
Save