More fixes for similarly-named modules.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@471 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 18 years ago
parent de1b94b525
commit 687926759b

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

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

Loading…
Cancel
Save