From fa4c2c77b9ca0d2ab4a151fb1b054cf36f8baa44 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 30 Jul 2004 06:46:04 +0000 Subject: do not offer to configure mouse if we've already automatically reconfigure it b/c of 2.4.x vs 2.6.x switch --- perl-install/standalone/service_harddrake | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index c4b2eef76..8833f6b5b 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -91,6 +91,7 @@ foreach my $hw_class (@harddrake::data::tree) { modules::load_and_configure($modules_conf, 'ohci1394') if $Ident eq 'FIREWIRE_CONTROLLER' && any { $_->{driver} eq 'ohci1394' } @added; @added || @was_removed or next; + next if $Ident eq 'MOUSE' && $curr_kernel ne $prev_kernel; my @configurator_pool; if (harddrake::data::is_removable($Ident)) { foreach my $device (@ID{@added}) { -- cgit v1.2.1