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-a3cf2f4a3e73master
parent
74ee635064
commit
0866b84b46
|
@ -21,7 +21,7 @@ check_module () {
|
|||
|
||||
insmod "$module" "$params"
|
||||
sleep 1
|
||||
grep "^$module" /proc/modules > /dev/null
|
||||
grep -q ^"$module " /proc/modules
|
||||
return $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue