From: Chris Gianelloni Date: Wed, 13 Dec 2006 20:33:03 +0000 (+0000) Subject: More fixes for similarly-named modules. X-Git-Tag: v3.4.10.902~281 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=687926759bbb8d58247c2bea24fd26d8c0ae5cad;p=genkernel.git More fixes for similarly-named modules. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@471 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/ChangeLog b/ChangeLog index afbc8ec..2ab5d08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Dec 2006; Chris Gianelloni + generic/initrd.scripts: + More fixes for similarly-named modules. + 13 Dec 2006; Chris Gianelloni alpha/busy-config, ia64/busy-config, parisc/busy-config, parisc64/busy-config, ppc/busy-config, ppc64/busy-config, sparc/busy-config, diff --git a/generic/initrd.scripts b/generic/initrd.scripts index 8965a4a..c1234e1 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -50,7 +50,7 @@ modules_scan() { then [ -n "${DEBUG}" ] && echo -ne "${BOLD} ::${NORMAL} Checking for ${x}..." # find -name does not work since the return status is always zero - if find /lib/modules | grep "${x}${KSUFF}" >/dev/null 2>&1 + if find /lib/modules | grep /"${x}${KSUFF}" >/dev/null 2>&1 then echo -ne "${BOLD} ::${NORMAL} Scanning for ${x}..." modprobe ${x} -n