summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-13 00:11:11 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-12-13 00:11:11 +0000
commit235c065e12e2a2cb85c21f51aaf594aff516cf0b (patch)
treef45e679ad0b61a1351ecb77f425ffc901bd68989 /target
parent3a4a6cfd64c014098b35f3b5c7895fa3dc92f78c (diff)
downloadmtk-20170518-235c065e12e2a2cb85c21f51aaf594aff516cf0b.zip
mtk-20170518-235c065e12e2a2cb85c21f51aaf594aff516cf0b.tar.gz
mtk-20170518-235c065e12e2a2cb85c21f51aaf594aff516cf0b.tar.bz2
brcm47xx: suppress printing if a module was found in preinit function.
SVN-Revision: 34653
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm2
1 files changed, 1 insertions, 1 deletions
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 e7e7d54..6d43217 100644
--- 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
+ grep "^$module" /proc/modules > /dev/null
return $?
}