summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.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/detect_devices.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/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index cafc82e03..513800f3d 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -867,7 +867,7 @@ sub pci_probe() {
}
sub usb_probe__real() {
- -e "/proc/bus/usb/devices" or return;
+ -e "/sys/kernel/debug/usb/devices" or return;
add_addons($usbtable_addons, map {
my %l;