From 45d2bcdb9f24ec3a9f65e94683c2ee2e67effa49 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 2 Jun 2007 12:23:43 +0000 Subject: Use -q option with modprobe rather than sending to /dev/null. --- init.d/localmount | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init.d') 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 -- cgit v1.2.3