summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-05-28 13:03:31 +0000
committerThierry Vignaud <tv@mandriva.org>2007-05-28 13:03:31 +0000
commit1e8aa1a5b862968bf749ce7b2e013356a2e64b40 (patch)
tree22304ec617eb524ab2f6433e6ed150d9e13d2aad
parentfb670a753d9ce829aeab0b562396567908ddc6a4 (diff)
downloaddrakx-1e8aa1a5b862968bf749ce7b2e013356a2e64b40.tar
drakx-1e8aa1a5b862968bf749ce7b2e013356a2e64b40.tar.gz
drakx-1e8aa1a5b862968bf749ce7b2e013356a2e64b40.tar.bz2
drakx-1e8aa1a5b862968bf749ce7b2e013356a2e64b40.tar.xz
drakx-1e8aa1a5b862968bf749ce7b2e013356a2e64b40.zip
drop support for kernel-2.4.x
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/service_harddrake5
2 files changed, 2 insertions, 5 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index aee2bbc19..5701e2cac 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -2,6 +2,8 @@
with the same fraction (eg #30090)
- diskdrake:
o when formatting ntfs don't zero partition (#30928)
+- harddrake service:
+ o drop support for kernel-2.4.x
Version 10.4.131 - 18 May 2007, by Thierry Vignaud
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index e5dbbd22e..c7da1b351 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -42,11 +42,6 @@ my %previous_kernel_config = getVarsFromSh("$hw_sysconfdir/kernel");
setVarsInSh("$hw_sysconfdir/kernel", { KERNEL => $curr_kernel, IS_LAPTOP => bool2text($isLaptop) });
my %cfg = getVarsFromSh("$hw_sysconfdir/service.conf");
-# autoreconfigure the mouse on major kernel change:
-if ($curr_kernel ne $previous_kernel_config{KERNEL}) {
- log::explanations("Autoconfiguring mouse since we switched between 2.4.x and 2.6.x kernels");
- harddrake::autoconf::mouse_conf($modules_conf);
-}
# autoreconfigure laptop-dependent services when switching from laptop to desktop, and vice versa
if (!exists $previous_kernel_config{IS_LAPTOP} || $force || $isLaptop != text2bool($previous_kernel_config{IS_LAPTOP})) {
log::explanations("Autoconfiguring laptop tools since we switched between laptop and desktop systems");