Ignore:
Timestamp:
Jun 19, 2011, 2:13:48 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • Revert bad changes made accidentaly on the 2.2.8 branch
File:
1 edited

Legend:

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

    r2814 r2833  
    115115    partno=`basename $bootpart | cut -d'p' -f2`
    116116elif echo $bootpart | grep "/mapper/mpath" > /dev/null ; then
    117     partno=`basename $bootpart | cut -d'p' -f3`
     117    partno=`basename $bootpart | cut -d'p' -f2`
    118118else
    119119    partno=`basename $bootpart | sed s/[a-z]*//`
     
    128128    line=`grep $base /proc/mdstat | head -n1`
    129129    echo "mbrpart was $mbrpart"
    130     mbrpart=`parted2fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' | cut -d' ' -f2`
     130    mbrpart=`parted2fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' \
     131| cut -d' ' -f2`
    131132    echo "mbrpart is $mbrpart"
    132133    partno="0"; # cheating - FIXME   
Note: See TracChangeset for help on using the changeset viewer.