summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-07 03:06:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-07 03:06:29 +0000
commite9bd3e32ccd2be144d112cc728249d0f53c2470b (patch)
tree453deca8820bfeeca77498b8a2eb9ff827a229f3 /perl-install/standalone/service_harddrake
parenta79077a6e5f760bb6a324138720fa46f038fedf5 (diff)
downloaddrakx-e9bd3e32ccd2be144d112cc728249d0f53c2470b.tar
drakx-e9bd3e32ccd2be144d112cc728249d0f53c2470b.tar.gz
drakx-e9bd3e32ccd2be144d112cc728249d0f53c2470b.tar.bz2
drakx-e9bd3e32ccd2be144d112cc728249d0f53c2470b.tar.xz
drakx-e9bd3e32ccd2be144d112cc728249d0f53c2470b.zip
add/update a few comments
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake5
1 files changed, 4 insertions, 1 deletions
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") {