diff options
author | Francois Pons <fpons@mandriva.com> | 2000-08-30 09:53:44 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-08-30 09:53:44 +0000 |
commit | 5573320af4552098763344453995ffc1c9df9ec8 (patch) | |
tree | 7b4227ae84d8b10883fa4d99b171f9541e87cf70 /perl-install/standalone | |
parent | a72530581142a3ef93223888294bca028e65a0a8 (diff) | |
download | drakx-5573320af4552098763344453995ffc1c9df9ec8.tar drakx-5573320af4552098763344453995ffc1c9df9ec8.tar.gz drakx-5573320af4552098763344453995ffc1c9df9ec8.tar.bz2 drakx-5573320af4552098763344453995ffc1c9df9ec8.tar.xz drakx-5573320af4552098763344453995ffc1c9df9ec8.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakboot | 6 |
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('', |