commit:     95ed0665393c353dbc24afb8c63c615402136f5d
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Apr 20 16:02:01 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 16:02:01 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=95ed0665

procfs: do not force loading of usbcore module

It appears that the only reason we were force loading the usbcore
module was to facilitate mounting usbfs. Since we no longer mount
usbfs, this is no longer necessary.

X-Gentoo-Bug: 480312
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=480312

 init.d/procfs.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/init.d/procfs.in b/init.d/procfs.in
index 24dbfaf..dfe58cb 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -13,11 +13,6 @@ depend()
 
 start()
 {
-       # Make sure we insert usbcore if it's a module
-       if [ -f /proc/modules -a ! -d /sys/module/usbcore -a ! -d /proc/bus/usb 
]; then
-               modprobe -q usbcore
-       fi
-
        # Setup Kernel Support for miscellaneous Binary Formats
        if [ -d /proc/sys/fs/binfmt_misc -a ! -e 
/proc/sys/fs/binfmt_misc/register ]; then
                if grep -qs binfmt_misc /proc/filesystems; then

Reply via email to