diff options
author | Francois Pons <fpons@mandriva.com> | 2002-01-22 10:00:48 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-01-22 10:00:48 +0000 |
commit | df5bf63039e6ab75260f568ee60aab9ea91ee781 (patch) | |
tree | 14004e3c19ca375d9e7b838a8cad1103d911fb32 /perl-install | |
parent | 68d8254c0365db03a64aaacc88169e9865c6b9cf (diff) | |
download | drakx-df5bf63039e6ab75260f568ee60aab9ea91ee781.tar drakx-df5bf63039e6ab75260f568ee60aab9ea91ee781.tar.gz drakx-df5bf63039e6ab75260f568ee60aab9ea91ee781.tar.bz2 drakx-df5bf63039e6ab75260f568ee60aab9ea91ee781.tar.xz drakx-df5bf63039e6ab75260f568ee60aab9ea91ee781.zip |
added mem=nopentium for any Athlon or Duron processor.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 5f092e5f0..7bd8297c7 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -921,6 +921,9 @@ sub miscellaneous { if ($o->{miscellaneous}{HDPARM}) { $_ .= join('', map { " $_=autotune" } grep { /ide.*/ } all("/proc/ide")) if !/ide.=autotune/; } + if (grep { /Athlon|Duron/ } cat_("/proc/cpuinfo")) { + $_ .= " mem=nopentium"; + } #- keep some given parameters #-TODO |