summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-27 05:08:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-27 05:08:48 +0000
commit08cf2082294638623da886adbbad631cec24ec4f (patch)
tree15dfb7f91e0be2bd963d5241178b1809b9bf5074 /perl-install
parent7e11d9520f45a97fbbe527c80ee4b3b66382e93d (diff)
downloaddrakx-backup-do-not-use-08cf2082294638623da886adbbad631cec24ec4f.tar
drakx-backup-do-not-use-08cf2082294638623da886adbbad631cec24ec4f.tar.gz
drakx-backup-do-not-use-08cf2082294638623da886adbbad631cec24ec4f.tar.bz2
drakx-backup-do-not-use-08cf2082294638623da886adbbad631cec24ec4f.tar.xz
drakx-backup-do-not-use-08cf2082294638623da886adbbad631cec24ec4f.zip
remove unused and obsolete code
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 94a819c00..2b42a7237 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -812,9 +812,6 @@ sub setupBootloaderBefore {
@$dict = grep { $_->[1] ne 'ide-scsi' } @$dict;
});
- if ($o->{miscellaneous}{HDPARM}) {
- bootloader::set_append_with_key($o->{bootloader}, $_, 'autotune') foreach grep { /ide/ } all("/proc/ide");
- }
if (cat_("/proc/cmdline") =~ /mem=nopentium/) {
bootloader::set_append_with_key($o->{bootloader}, mem => 'nopentium');
}
@@ -913,8 +910,6 @@ sub configureXAfter {
sub miscellaneousBefore {
my ($o) = @_;
- my %s = getVarsFromSh("$o->{prefix}/etc/sysconfig/system");
- $o->{miscellaneous}{HDPARM} = $s{HDPARM} if exists $s{HDPARM};
require security::level;
require security::various;
$o->{security} ||= security::level::get();