brcm47xx: suppress printing if a module was found in preinit function.
[librecmc/librecmc.git] / 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 $?
 }