aboutsummaryrefslogtreecommitdiff
path: root/init.d/localmount
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-02 12:23:43 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-02 12:23:43 +0000
commit45d2bcdb9f24ec3a9f65e94683c2ee2e67effa49 (patch)
tree62df8c6c15dadaa4342f3626670efdf37e4d032b /init.d/localmount
parent804de005b85fc603a0836a739d4a82d3d1520777 (diff)
Use -q option with modprobe rather than sending to /dev/null.
Diffstat (limited to 'init.d/localmount')
-rwxr-xr-xinit.d/localmount3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.d/localmount b/init.d/localmount
index 01508e8c..456aee34 100755
--- a/init.d/localmount
+++ b/init.d/localmount
@@ -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