1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:15:00 +02:00

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
This commit is contained in:
hauke 2012-12-14 22:45:12 +00:00
parent 6367f482b3
commit 0f5ef2bc11

View File

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