From 8418efcc6c39e3c3de1297c9048f58342834247e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 14 Jan 2010 18:47:39 +0000 Subject: fix reading security level --- perl-install/standalone/drakboot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index b8352f19c..6177fd00c 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -59,7 +59,9 @@ if ($is_bootloader_mode || any { /^--splash$/ } @ARGV) { if ($is_bootloader_mode) { $::isWizard = 1; - eval { any::setupBootloaderUntilInstalled($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}) }; + require security::level; + my $level = security::level::from_string(security::level::get()); + eval { any::setupBootloaderUntilInstalled($in, $bootloader, $all_hds, $fstab, $level) }; die if $@ && $@ !~ /^wizcancel/; $in->exit(0); } -- cgit v1.2.1