projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
brcm47xx: improve suppressing printing if a module was found in preinit function.
[openwrt/openwrt.git]
/
target
/
linux
/
brcm47xx
/
base-files
/
lib
/
preinit
/
05_init_interfaces_brcm
diff --git
a/target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
b/target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
index 6d43217234c4db4da9da52c651ed8af733b28211..f5aebf5705866302a17f4585dd32cae6c5fd327d 100644
(file)
--- a/
target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
+++ b/
target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
@@
-21,7
+21,7
@@
check_module () {
insmod "$module" "$params"
sleep 1
- grep
"^$module" /proc/modules > /dev/null
+ grep
-q ^"$module " /proc/modules
return $?
}