diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/any.pm | 2 | ||||
-rw-r--r-- | perl-install/install/steps.pm | 4 | ||||
-rw-r--r-- | perl-install/install/steps_interactive.pm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index a3a59d265..6ad227e20 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -504,7 +504,7 @@ sub rpmsrate_always_flags { $rpmsrate_flags_chosen->{DVD} = 1 if $o->{match_all_hardware} || detect_devices::dvdroms(); $rpmsrate_flags_chosen->{USB} = 1 if $o->{match_all_hardware} || $o->{modules_conf}->get_probeall("usb-interface"); $rpmsrate_flags_chosen->{PCMCIA} = 1 if $o->{match_all_hardware} || detect_devices::hasPCMCIA(); - $rpmsrate_flags_chosen->{HIGH_SECURITY} = 1 if $o->{security} > 3; + $rpmsrate_flags_chosen->{HIGH_SECURITY} = 1 if $o->{security} > 1; $rpmsrate_flags_chosen->{BIGMEM} = 1 if detect_devices::BIGMEM(); $rpmsrate_flags_chosen->{SMP} = 1 if $o->{match_all_hardware} || detect_devices::hasSMP(); if (!$o->{match_all_hardware} && !defined $o->{compssListLevel} && detect_devices::need_light_desktop()) { diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index 24b34c046..6ffb79935 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -505,7 +505,7 @@ EOF } - install::any::disable_user_view() if $o->{security} >= 3 || $o->{authentication}{NIS}; + install::any::disable_user_view() if $o->{security} > 1 || $o->{authentication}{NIS}; run_program::rooted($::prefix, "kdeDesktopCleanup"); #- move some file after an upgrade that may be seriously annoying. @@ -651,7 +651,7 @@ sub configure_firewall { my ($o) = @_; #- set up a firewall if ports have been specified or if the security level is high enough - $o->{firewall_ports} ||= '' if $o->{security} >= 3 && !exists $o->{firewall_ports}; + $o->{firewall_ports} ||= '' if $o->{security} >= 1 && !exists $o->{firewall_ports}; if (defined $o->{firewall_ports}) { require network::drakfirewall; diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index cea3c06e2..5c449edb4 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -1000,7 +1000,7 @@ sub summary { }, clicked => sub { require network::drakfirewall; - if (my @rc = network::drakfirewall::main($o, $o->{security} <= 3)) { + if (my @rc = network::drakfirewall::main($o, $o->{security} < 1)) { $o->{firewall_ports} = !$rc[0] && $rc[1]; } }, |