diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-13 00:11:11 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-13 00:11:11 +0000 |
commit | 235c065e12e2a2cb85c21f51aaf594aff516cf0b (patch) | |
tree | f45e679ad0b61a1351ecb77f425ffc901bd68989 /target/linux/brcm47xx/base-files/lib | |
parent | 3a4a6cfd64c014098b35f3b5c7895fa3dc92f78c (diff) | |
download | upstream-235c065e12e2a2cb85c21f51aaf594aff516cf0b.tar.gz upstream-235c065e12e2a2cb85c21f51aaf594aff516cf0b.tar.bz2 upstream-235c065e12e2a2cb85c21f51aaf594aff516cf0b.zip |
brcm47xx: suppress printing if a module was found in preinit function.
SVN-Revision: 34653
Diffstat (limited to 'target/linux/brcm47xx/base-files/lib')
-rw-r--r-- | target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm | 2 |
1 files changed, 1 insertions, 1 deletions
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 $? } |