aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2012-12-13 00:11:11 +0000
committerHauke Mehrtens <hauke@openwrt.org>2012-12-13 00:11:11 +0000
commit33a4cce4c5eed62ff2a7327f36e964830be505ef (patch)
treefca874c96be182ef1d990665a460be02d0da6f4b /target/linux/brcm47xx/base-files
parente26a7dcc11c9be796f9373044ea18a3deaf07e90 (diff)
downloadupstream-33a4cce4c5eed62ff2a7327f36e964830be505ef.tar.gz
upstream-33a4cce4c5eed62ff2a7327f36e964830be505ef.tar.bz2
upstream-33a4cce4c5eed62ff2a7327f36e964830be505ef.zip
brcm47xx: suppress printing if a module was found in preinit function.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/base-files')
-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 e7e7d54082..6d43217234 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 $?
}