brcm47xx: suppress printing if a module was found in preinit function.
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 13 Dec 2012 00:11:11 +0000 (00:11 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 13 Dec 2012 00:11:11 +0000 (00:11 +0000)
SVN-Revision: 34653

target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm

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