More fixes for similarly-named modules.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 13 Dec 2006 20:33:03 +0000 (20:33 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 13 Dec 2006 20:33:03 +0000 (20:33 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@471 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
generic/initrd.scripts

index afbc8ec909a1645e1d741ebe1cbf036342987949..2ab5d089fc94511c48b86f8ff9cd84c4fe3b4cf0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  generic/initrd.scripts:
+  More fixes for similarly-named modules.
+
   13 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> alpha/busy-config,
   ia64/busy-config, parisc/busy-config, parisc64/busy-config,
   ppc/busy-config, ppc64/busy-config, sparc/busy-config,
index 8965a4aedcf4aa99a51580c6b72f444ec0ccb0ac..c1234e1e7468e72ea583bf94237e2bad45673538 100644 (file)
@@ -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