Author: arekm
Date: Thu Dec 15 19:57:17 2005
New Revision: 6651

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
modprobe with -s option so messages go to syslog.

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit    (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit    Thu Dec 15 19:57:17 2005
@@ -229,10 +229,10 @@
        if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q 
"/proc/bus/usb" /proc/mounts 2>/dev/null ; then
                aliases=$(/sbin/modprobe -c | awk '/^alias usb-controller/ { 
print $3 }')
                if [ -n "$aliases" -a "$aliases" != "off" ] ; then
-                       /sbin/modprobe -k usbcore
+                       /sbin/modprobe -s -k usbcore
                        for alias in $aliases ; do
                                [ "$alias" = "off" ] && continue
-                               run_cmd "$(nls 'Initializing USB controller') 
($alias)" /sbin/modprobe $alias
+                               run_cmd "$(nls 'Initializing USB controller') 
($alias)" /sbin/modprobe -s $alias
                        done
                        [ $? -eq 0 -a -n "$aliases" ] && usb=1
                fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to