diff options
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index ced2cd281..41b59882e 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -918,8 +918,8 @@ sub miscellaneousBefore { my ($o) = @_; my %s = getVarsFromSh("$o->{prefix}/etc/sysconfig/system"); - $o->{miscellaneous}{HDPARM} ||= $s{HDPARM} if exists $s{HDPARM}; - $o->{security} ||= $s{SECURITY} if exists $s{SECURITY}; + $o->{miscellaneous}{HDPARM} = $s{HDPARM} if exists $s{HDPARM}; + $o->{security} = any::get_secure_level($o->{prefix}) || $o->{security}; add2hash_($o->{miscellaneous} ||= {}, { numlock => !detect_devices::isLaptop() }); } |