Ticket #262: mindi.diff

File mindi.diff, 684 bytes (added by arneb, 16 years ago)
  • mindi

    old new  
    12311231            # Needs to handle the recent OpenSUSE fancy way of dealing with fstab :-(
    12321232            # they use symlinks in fstab unrelated to what is shown in mount !
    12331233            if [ _"$partition_mountpt" = _"" ]; then
     1234                                # set default in case we dont't find it
     1235                                str_to_find_fmt_with=$current_partition
     1236                               
    12341237                for tmpp in `tr -s '\t' ' ' < $MY_FSTAB | /bin/grep -Ev "^#" | $AWK '{print $1}'`; do
    12351238                        if [ _"`readlink -f $tmpp`" = _"$current_partition" ]; then
    12361239                            str_to_find_fmt_with=$tmpp