summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-30 17:19:11 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-30 17:19:11 +0000
commit4c11c11f94e94c387628371a19b9a13afc0f781a (patch)
tree8c09cfa13e8f0aca6f20e7f824eeccfd32b67200 /perl-install/modules.pm
parentb51cc60cdc58d6dae7a0f4d8137c4e8c4403ff04 (diff)
downloaddrakx-4c11c11f94e94c387628371a19b9a13afc0f781a.tar
drakx-4c11c11f94e94c387628371a19b9a13afc0f781a.tar.gz
drakx-4c11c11f94e94c387628371a19b9a13afc0f781a.tar.bz2
drakx-4c11c11f94e94c387628371a19b9a13afc0f781a.tar.xz
drakx-4c11c11f94e94c387628371a19b9a13afc0f781a.zip
adapt to usbfs death (1/4): check for /sys/kernel/debug/usb instead of
/proc/bus/usb
Diffstat (limited to 'perl-install/modules.pm')
-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 c4c03fb34..593bc7719 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -282,7 +282,7 @@ sub when_load_category {
eval { load('sd_mod') };
} elsif ($category eq 'bus/usb') {
$conf->add_probeall('usb-interface', $name);
- -f '/proc/bus/usb/devices' or eval {
+ -f '/sys/kernel/debug/usb/devices' or eval {
require fs::mount; fs::mount::usbfs('');
#- ensure keyboard is working, the kernel must do the job the BIOS was doing
sleep 4;