Changeset 3698


Ignore:
Timestamp:
Mar 28, 2018, 12:41:36 AM (5 months ago)
Author:
bruno
Message:

Improve logging of device.map file for grub2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/restore-scripts/mondo/mr-grub

    r3683 r3698  
    136136[ "$res" -eq "0" ] && exit 0
    137137
     138if [ "$MNT_RESTORING" ] ; then
     139    devfile="$MNT_RESTORING/boot/grub2/device.map"
     140else
     141    devfile="/boot/grub2/device.map"
     142fi
     143echo "Content of $devfile"
     144echo "-------------------"
     145if [ -f "$devfile" ]; then
     146        cat $devfile
     147else
     148        echo "No file $devfile"
     149fi
    138150
    139151echo "Now I'll use grub2-install" >> $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.