From e9bd3e32ccd2be144d112cc728249d0f53c2470b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 7 Sep 2004 03:06:29 +0000 Subject: add/update a few comments --- perl-install/standalone/service_harddrake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/service_harddrake') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 56acac16f..388a7910b 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -39,6 +39,9 @@ if ($curr_kernel ne $prev_kernel) { if (find { $_->{driver} =~ /Card:NVIDIA/ } detect_devices::probeall()) { if (find { -e join('', "/lib/modules/", c::kernel_version(), "/kernel/drivers/$_") } map { ("video/$_", "char/$_") } qw(NVdriver nvidia.o nvidia.o.gz nvidia.ko nvidia.ko.gz)) { + # do not automatically switch from nv to nvidia (in order to handle + # cases where nvidia module crashes the system): + # # substInFile { # log::explanations("switch XFree86 driver from nv to nvidia") if /Driver "nv"/; # s!Driver "nv.*"!Driver "nvidia"!g; @@ -120,7 +123,7 @@ foreach my $hw_class (@harddrake::data::tree) { network::ethernet::configure_eth_aliases($modules_conf); $modules_conf->write; } elsif (member($Ident, qw(AGP ATA_STORAGE SATA_STORAGE SCSI_CONTROLLER TV))) { - # add agpgart modules to modprobe.preload if needed: + # add agpgart and the like modules to modprobe.preload if needed: $modules_conf->write; next; } elsif ($Ident eq "USB_CONTROLLER") { -- cgit v1.2.1