From 4452a8c0e98a9c5ffb33a5d7a437526b08bbbde8 Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 13 Dec 2012 00:11:11 +0000 Subject: 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 --- target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $? } -- cgit v1.2.3