summaryrefslogtreecommitdiffstats
path: root/rescue/install_bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/install_bootloader')
-rwxr-xr-xrescue/install_bootloader9
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
#-