summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/procfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/procfs.in b/init.d/procfs.in
index c5331b8..049fade 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -14,7 +14,7 @@ depend()
start()
{
# Make sure we insert usbcore if it's a module
- if [ -f /proc/modules -a ! -d /proc/bus/usb ]; then
+ if [ -f /proc/modules -a ! -d /sys/module/usbcore -a ! -d /proc/bus/usb ]; then
modprobe -q usbcore
fi