Ignore:
Timestamp:
Jan 3, 2006, 4:15:54 PM (18 years ago)
Author:
bcornec
Message:

merge -r272:273 $SVN_M/branches/2.06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/restore-scripts/mondo/hack-lilo

    r30 r274  
    5454    newdev=`GetNewFstabMountpoint $dev`
    5555    if [ ! "$newdev" ] ; then
    56     col2=`cat $old_mountlist | grep "$dev " | cut -d' ' -f2`
    57     col1_new=`cat $new_mountlist | grep " $col2 " | cut -d' ' -f1`
     56    col2=`grep "$dev " $old_mountlist | cut -d' ' -f2`
     57    col1_new=`grep " $col2 " $new_mountlist | cut -d' ' -f1`
    5858    newdev="$col1_new"
    5959    if [ ! "$newdev" ] ; then
     
    6161    fi
    6262    fi
    63 #    old_fstab_line=`cat $new_fstab | grep "$dev"`
     63#    old_fstab_line=`grep "$dev" $new_fstab`
    6464    [ "$2" = "other" ] || echo -e -n "\t"
    6565    echo -e "$2=$newdev"
     
    135135ProcessLilo < $old_lilo >> $outfile
    136136chmod 600 $outfile
    137 cat $bootlistfile | sort | uniq > $bootlistfile
     137sort -u $bootlistfile -o $bootlistfile
    138138
    139139#------ disabled 12/10/01 (doesn't do anything anyway *g*)
Note: See TracChangeset for help on using the changeset viewer.