Changeset 447 in MondoRescue for branches/stable/mindi
- Timestamp:
- Mar 17, 2006, 10:16:24 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r441 r447 1340 1340 partition_mountpt=`tr -s '\t' ' ' < $MY_FSTAB | grep -w "$current_partition" | grep -vx " *#.*" | $AWK '{print $2}' | head -n1` 1341 1341 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 1343 1347 str_to_find_fmt_with=$current_partition 1344 1348 redhat_label=`echo "$current_partition" | cut -d'=' -f2`
Note:
See TracChangeset
for help on using the changeset viewer.