From: Hauke Mehrtens Date: Thu, 13 Dec 2012 00:11:11 +0000 (+0000) Subject: brcm47xx: suppress printing if a module was found in preinit function. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=235c065e12e2a2cb85c21f51aaf594aff516cf0b;p=openwrt%2Fstaging%2Fnbd.git brcm47xx: suppress printing if a module was found in preinit function. SVN-Revision: 34653 --- 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 $? }