git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@258
67a159dc-881f-0410-a524-
ba9dfbe2cb84
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}" 2>/dev/null
+ if find /lib/modules | grep "${x}${KSUFF}" >/dev/null 2>&1
then
echo -ne "${BOLD} ::${NORMAL} Scanning for ${x}..."
modprobe ${x} -n