Ignore:
Timestamp:
May 6, 2015, 2:10:24 PM (5 years ago)
Author:
Bruno Cornec
Message:
  • Deal with grub used with UEFI
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/restore-scripts/mondo/grub-MR

    r3377 r3378  
    206206elif [ -f "/mnt/RESTORING/boot/grub2/grub.cfg" ]; then
    207207    grep -vE '^#' /boot/grub2/grub.cfg > /mnt/RESTORING/tmp/grub.conf
     208elif [ -d "/mnt/RESTORING/boot/efi" ]; then
     209    grep -vE '^#' `find /boot/efi -name grub.conf` > /mnt/RESTORING/tmp/grub.conf
    208210else
    209211    echo "Unable to find Grub conf file" | tee -a $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.