summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index e913e9f0f..f03fdf710 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -361,7 +361,7 @@ sub when_load {
my ($name, @options) = @_;
if ($name =~ /usb-[uo]hci/) {
- eval {
+ -f '/proc/bus/usb/devices' or eval {
require fs; fs::mount('/proc/bus/usb', '/proc/bus/usb', 'usbdevfs');
#- ensure keyboard is working, the kernel must do the job the BIOS was doing
sleep 4;