brcm47xx: improve suppressing printing if a module was found in preinit function.

Thank you Bastian Bittorf


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2012-12-14 22:45:12 +00:00
parent 74ee635064
commit 0866b84b46
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ check_module () {
insmod "$module" "$params"
sleep 1
grep "^$module" /proc/modules > /dev/null
grep -q ^"$module " /proc/modules
return $?
}