summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:21:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:21:03 +0000
commit5b4afecd8277e232df710b4019ff2dfdf3e7a7b1 (patch)
treefaae5fc0421e655fd68ae18749f3f6e5c1eddc92 /perl-install
parent982ea0da10896bd5c267ea813b8df4e062b9a4b8 (diff)
downloaddrakx-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar
drakx-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar.gz
drakx-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar.bz2
drakx-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar.xz
drakx-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.zip
fix mouse autoconfiguration done on every boot instead of on 2.4.x/2.6.x
switches
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 8acd80e12..655cd2c82 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -26,7 +26,7 @@ modules::mergein_conf('/etc/modules.conf');
my $prev_kernel = { getVarsFromSh("$hw_sysconfdir/kernel") }->{KERNEL};
my $curr_kernel = c::kernel_version();
$curr_kernel =~ s/(^\d+\.\d+).*/\1/;
-setVarsInSh("$hw_sysconfdir/kernel", KERNEL => $curr_kernel);
+setVarsInSh("$hw_sysconfdir/kernel", { KERNEL => $curr_kernel });
system("mousedrake --auto") if $curr_kernel ne $prev_kernel;
if (find { $_->{driver} =~ /Card:NVIDIA/ } detect_devices::probeall()) {