Changeset 447 in MondoRescue for branches/stable/mindi/mindi


Ignore:
Timestamp:
Mar 17, 2006, 10:16:24 AM (18 years ago)
Author:
bcornec
Message:

mindi now supports LABEL for swap partitions (patch from Julien Pinon <julien.pinon_at_linagora.com>)
updated web site conf file for virtual hosting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r441 r447  
    13401340    partition_mountpt=`tr -s '\t' ' ' < $MY_FSTAB | grep -w "$current_partition" | grep -vx " *#.*" | $AWK '{print $2}' | head -n1`
    13411341    redhat_label=""
    1342     if [ "`echo "$current_partition" | fgrep -i "LABEL="`" != "" ] ; then
     1342    if [ "`echo "$current_partition" | fgrep -i "LABEL=SWAP"`" != "" ] ; then
     1343            redhat_label=`echo "$current_partition" | cut -d'=' -f2`
     1344            actual_dev="/dev/`echo "$redhat_label" | cut -d '-' -f2`"
     1345            current_partition=$actual_dev
     1346    elif [ "`echo "$current_partition" | fgrep -i "LABEL="`" != "" ] ; then
    13431347        str_to_find_fmt_with=$current_partition
    13441348        redhat_label=`echo "$current_partition" | cut -d'=' -f2`
Note: See TracChangeset for help on using the changeset viewer.