Use -q option with modprobe rather than sending to /dev/null.

This commit is contained in:
Mike Frysinger
2007-06-02 12:23:43 +00:00
parent 804de005b8
commit 45d2bcdb9f
2 changed files with 2 additions and 3 deletions

View File

@@ -50,8 +50,7 @@ start() {
# Make sure we insert usbcore if its a module
if [ -f /proc/modules -a ! -d /proc/bus/usb ] ; then
# >/dev/null to hide errors from non-USB users
modprobe usbcore &> /dev/null
modprobe -q usbcore
fi
if [ -e /proc/filesystems ] ; then