Changeset 2956 in MondoRescue


Ignore:
Timestamp:
Feb 22, 2012, 12:23:31 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • A last grub2 improvement
File:
1 edited

Legend:

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

    r2944 r2956  
    202202elif [ -f "/mnt/RESTORING/boot/grub/grub.cfg" ]; then
    203203    grep -vE '^#' /boot/grub/grub.cfg > /mnt/RESTORING/tmp/grub.conf
     204elif [ -f "/mnt/RESTORING/boot/grub2/grub.cfg" ]; then
     205    grep -vE '^#' /boot/grub2/grub.cfg > /mnt/RESTORING/tmp/grub.conf
    204206else
    205207    echo "Unable to find Grub conf file" | tee -a $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.