summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:20:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:20:39 +0000
commitf1e88c046c636fbb48fed5ed772080b5381e1f0c (patch)
tree4102ce30e1ffa4c305068b32a6517dde738b1300
parent836fb5c1cc4fa14dd075cf9172b47b7d4ebb6760 (diff)
downloaddrakx-f1e88c046c636fbb48fed5ed772080b5381e1f0c.tar
drakx-f1e88c046c636fbb48fed5ed772080b5381e1f0c.tar.gz
drakx-f1e88c046c636fbb48fed5ed772080b5381e1f0c.tar.bz2
drakx-f1e88c046c636fbb48fed5ed772080b5381e1f0c.tar.xz
drakx-f1e88c046c636fbb48fed5ed772080b5381e1f0c.zip
fix mouse autoconfiguration done on every boot instead of on 2.4.x/2.6.x
switches
-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 85b7f9a38..ba59c7cb1 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 });
if ($curr_kernel ne $prev_kernel) {
require class_discard;
require mouse;