summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-30 06:46:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-30 06:46:04 +0000
commitfa4c2c77b9ca0d2ab4a151fb1b054cf36f8baa44 (patch)
tree214eccd42d6e8cedcf3dcdf370a0b07a3d455aa4 /perl-install/standalone/service_harddrake
parent3809b9b8ddfc80ca46f852fff20090ec3d5e474e (diff)
downloaddrakx-fa4c2c77b9ca0d2ab4a151fb1b054cf36f8baa44.tar
drakx-fa4c2c77b9ca0d2ab4a151fb1b054cf36f8baa44.tar.gz
drakx-fa4c2c77b9ca0d2ab4a151fb1b054cf36f8baa44.tar.bz2
drakx-fa4c2c77b9ca0d2ab4a151fb1b054cf36f8baa44.tar.xz
drakx-fa4c2c77b9ca0d2ab4a151fb1b054cf36f8baa44.zip
do not offer to configure mouse if we've already automatically reconfigure it
b/c of 2.4.x vs 2.6.x switch
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake1
1 files changed, 1 insertions, 0 deletions
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}) {