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 | |
parent | 3a4a6cfd64c014098b35f3b5c7895fa3dc92f78c (diff) | |
download | mtk-20170518-235c065e12e2a2cb85c21f51aaf594aff516cf0b.zip mtk-20170518-235c065e12e2a2cb85c21f51aaf594aff516cf0b.tar.gz mtk-20170518-235c065e12e2a2cb85c21f51aaf594aff516cf0b.tar.bz2 |
brcm47xx: suppress printing if a module was found in preinit function.
SVN-Revision: 34653
Diffstat (limited to 'target/linux/brcm47xx/base-files')
-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 e7e7d54..6d43217 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 $? } |