diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 14 | ||||
-rw-r--r-- | perl-install/install2.pm | 3 |
2 files changed, 1 insertions, 16 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 7df987faf..9f861bf00 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -796,18 +796,4 @@ sub runlevel { } } -sub set_security_level { - my ($prefix, $security) = @_; - - my %bastille_levels = ( - 2 => "Lax", - 3 => "Moderate", - 4 => "Paranoia", - ); - eval { - commands::cp("-f", "$prefix/usr/share/Bastille/Workstation" . $bastille_levels{$security} . ".config", "$prefix/etc/Bastille/config"); - run_program::rooted($prefix, "/usr/sbin/BastilleBackEnd"); - } -} - 1; diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 66894980c..aa2f2b973 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -313,8 +313,7 @@ sub setupBootloader { $o->setupBootloader($_[1] - 1); local $ENV{DRAKX_PASSWORD} = $o->{bootloader}{password}; - - any::set_security_level($o->{prefix}, $o->{security}); + run_program::rooted($o->{prefix}, "/usr/sbin/msec", $o->{security}); } #------------------------------------------------------------------------------ sub configureX { |