brcm47xx: suppress printing if a module was found in preinit function.
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 13 Dec 2012 00:11:11 +0000 (00:11 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 13 Dec 2012 00:11:11 +0000 (00:11 +0000)
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

index e7e7d54..6d43217 100644 (file)
@@ -21,7 +21,7 @@ check_module () {
 
   insmod "$module" "$params"
   sleep 1
 
   insmod "$module" "$params"
   sleep 1
-  grep "^$module" /proc/modules
+  grep "^$module" /proc/modules > /dev/null
   return $?
 }
 
   return $?
 }