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:
parent
6367f482b3
commit
0f5ef2bc11
@ -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 $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user