diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-20 23:21:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-20 23:21:03 +0000 |
commit | 5b4afecd8277e232df710b4019ff2dfdf3e7a7b1 (patch) | |
tree | faae5fc0421e655fd68ae18749f3f6e5c1eddc92 | |
parent | 982ea0da10896bd5c267ea813b8df4e062b9a4b8 (diff) | |
download | drakx-backup-do-not-use-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar drakx-backup-do-not-use-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar.gz drakx-backup-do-not-use-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar.bz2 drakx-backup-do-not-use-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.tar.xz drakx-backup-do-not-use-5b4afecd8277e232df710b4019ff2dfdf3e7a7b1.zip |
fix mouse autoconfiguration done on every boot instead of on 2.4.x/2.6.x
switches
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
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()) { |