From 687926759bbb8d58247c2bea24fd26d8c0ae5cad Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 13 Dec 2006 20:33:03 +0000 Subject: [PATCH] More fixes for similarly-named modules. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@471 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 4 ++++ generic/initrd.scripts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.26.2