Ignore:
Timestamp:
Oct 6, 2009, 1:10:35 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Adds support for grub2 conf file grub.cfg in addition to menu.lst
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-archive.c

    r2427 r2449  
    699699                ("ln -sf /boot/grub/grub.conf /boot/grub/menu.lst", 5);
    700700        }
    701         if (!does_file_exist("/boot/grub/menu.lst")) {
     701        if ((!does_file_exist("/boot/grub/menu.lst")) || (!does_file_exist("/boot/grub/grub.cfg"))) {
    702702            fatal_error
    703                 ("The de facto standard location for your boot loader's config file is /boot/grub/menu.lst but I cannot find it there. What is wrong with your Linux distribution?");
     703                ("The de facto standard location for your boot loader's config file is /boot/grub/menu.lst /boot/grub/grub.cfg or but I cannot find it there. What is wrong with your Linux distribution?");
    704704        }
    705705    } else if (bkpinfo->boot_loader == 'E') {
Note: See TracChangeset for help on using the changeset viewer.