From 39d6e9c001aee9ee3f21442566fc6322d8125804 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 3 Apr 2008 12:21:03 +0000 Subject: fix detecting modules installed in new dkms locations (/dkms and /dkms-binary) instead of /kernel --- perl-install/standalone/service_harddrake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 1788481cf..03eb718f7 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -55,8 +55,8 @@ my @cards = ( foreach my $card (@cards) { next if !find { $_->{driver} =~ /$card->{ldetect_driver_regexp}/ } detect_devices::probeall(); - if (find { -e join('', "/lib/modules/", c::kernel_version(), "/kernel/drivers/$_") } - map { ("extra/$_", "video/$_", "char/$_", "char/drm/$_") } map { $_, "$_.gz" } @{$card->{module_names}}) { + if (find { -e join('', "/lib/modules/", c::kernel_version(), $_) } + map { ("/dkms/$_", "/dkms-binary/$_", "/kernel/$_") } map { "/drivers/$_" } map { ("extra/$_", "video/$_", "char/$_", "char/drm/$_") } map { $_, "$_.gz" } @{$card->{module_names}}) { # do not automatically switch from nv to nvidia (in order to handle # cases where nvidia module crashes the system): -- cgit v1.2.1