Changeset 273 in MondoRescue for branches/2.06/mondo/mondo/restore-scripts/mondo/hack-lilo
- Timestamp:
- Jan 3, 2006, 4:09:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mondo/mondo/restore-scripts/mondo/hack-lilo
r30 r273 54 54 newdev=`GetNewFstabMountpoint $dev` 55 55 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` 58 58 newdev="$col1_new" 59 59 if [ ! "$newdev" ] ; then … … 61 61 fi 62 62 fi 63 # old_fstab_line=` cat $new_fstab | grep "$dev"`63 # old_fstab_line=`grep "$dev" $new_fstab` 64 64 [ "$2" = "other" ] || echo -e -n "\t" 65 65 echo -e "$2=$newdev" … … 135 135 ProcessLilo < $old_lilo >> $outfile 136 136 chmod 600 $outfile 137 cat $bootlistfile | sort | uniq >$bootlistfile137 sort -u $bootlistfile -o $bootlistfile 138 138 139 139 #------ disabled 12/10/01 (doesn't do anything anyway *g*)
Note:
See TracChangeset
for help on using the changeset viewer.