summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-08-30 09:53:44 +0000
committerFrancois Pons <fpons@mandriva.com>2000-08-30 09:53:44 +0000
commit5573320af4552098763344453995ffc1c9df9ec8 (patch)
tree7b4227ae84d8b10883fa4d99b171f9541e87cf70 /perl-install/standalone/drakboot
parenta72530581142a3ef93223888294bca028e65a0a8 (diff)
downloaddrakx-backup-do-not-use-5573320af4552098763344453995ffc1c9df9ec8.tar
drakx-backup-do-not-use-5573320af4552098763344453995ffc1c9df9ec8.tar.gz
drakx-backup-do-not-use-5573320af4552098763344453995ffc1c9df9ec8.tar.bz2
drakx-backup-do-not-use-5573320af4552098763344453995ffc1c9df9ec8.tar.xz
drakx-backup-do-not-use-5573320af4552098763344453995ffc1c9df9ec8.zip
*** empty log message ***
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index a1c252f3c..ffff1a05c 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -5,7 +5,7 @@ use lib qw(/usr/lib/libDrakX);
use common qw(:common :system :file :functional);
use interactive;
use any;
-use lilo;
+use bootloader;
use detect_devices;
use fsedit;
use c;
@@ -40,7 +40,7 @@ if ($ENV{DISPLAY} && c::Xtest($ENV{DISPLAY})) {
exec $cmd if $cmd;
}
-my $bootloader = lilo::read('', '/etc/lilo.conf');
+my $bootloader = bootloader::read('', '/etc/lilo.conf');
local ($_) = `detectloader`;
$bootloader->{methods} = { lilo => 1, grub => !!/grub/i };
@@ -51,7 +51,7 @@ fs::get_mntpoints_from_fstab($fstab);
ask:
any::setupBootloader($in, $bootloader, $hds, $fstab, $ENV{SECURE_LEVEL}) or $in->exit(0);
-eval { lilo::install('', $bootloader, $fstab, $hds) };
+eval { bootloader::install('', $bootloader, $fstab, $hds) };
if ($@) {
$in->ask_warn('',