diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-04-19 13:10:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-04-19 13:10:25 +0000 |
commit | 8061a2db18a0162e9d70cb1448e28f367776fdf1 (patch) | |
tree | 3301c86573011ad5b078cc75060ed9135ad8ad3f /rescue/install_bootloader | |
parent | 0fe86605c426e8b502553f9b43d7c053de018ae5 (diff) | |
download | drakx-backup-do-not-use-8061a2db18a0162e9d70cb1448e28f367776fdf1.tar drakx-backup-do-not-use-8061a2db18a0162e9d70cb1448e28f367776fdf1.tar.gz drakx-backup-do-not-use-8061a2db18a0162e9d70cb1448e28f367776fdf1.tar.bz2 drakx-backup-do-not-use-8061a2db18a0162e9d70cb1448e28f367776fdf1.tar.xz drakx-backup-do-not-use-8061a2db18a0162e9d70cb1448e28f367776fdf1.zip |
mandriva switch
Diffstat (limited to 'rescue/install_bootloader')
-rwxr-xr-x | rescue/install_bootloader | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/rescue/install_bootloader b/rescue/install_bootloader index d49a04581..10812d41f 100755 --- a/rescue/install_bootloader +++ b/rescue/install_bootloader @@ -1,8 +1,8 @@ #!/usr/bin/perl # -# Guillaume Cottenceau (gc@mandrakesoft.com) +# Guillaume Cottenceau # -# Copyright 2001 Mandrakesoft +# Copyright 2001-2005 Mandriva # # This software may be freely redistributed under the terms of the GNU # public license. @@ -26,7 +26,7 @@ grep { (split)[1] =~ m|^/mnt$| } @mounts or die "Your root device isn't mounted my ($f) = grep { -f $_ } map { "/mnt/etc/$_" } 'mandrakelinux-release', 'mandrake-release'; $f && cat_($f) =~ /Mandrake/ or die "$f doesn't contain 'Mandrake', exiting.\n"; -print "About to re-install Boot Loader of following Mandrake distro:\n\t", +print "About to re-install Boot Loader of following Mandriva Linux distribution:\n\t", chomp_(cat_ "/mnt/etc/mandrake-release"), "\n=> ok? <press Enter to continue, 'n' and Enter to cancel> "; <STDIN> =~ /^n/i and exit 0; @@ -38,6 +38,9 @@ die "error: couldn't exec /mnt/sbin/lilo.\n"; #------------------------------------------------- #- $Log$ +#- Revision 1.4 2005/04/19 13:10:25 prigaux +#- mandriva switch +#- #- Revision 1.3 2004/09/28 06:24:30 prigaux #- handle /etc/mandrakelinux-release #- |